Re: wxEuphoria Rich text control

new topic     » goto parent     » topic index » view thread      » older message » newer message
mb7001 said...

I am experimenting with it. I do not think that the dialogs will work though. As far as the control goes, I think I can hash out something that will do what I need it to.

You should be able to print a wxRichTextCtrl control like this. However, get_buffer() throws a Segmentation fault with this code.

atom buffer = get_buffer( myRichText ) 
show_richprint_print_buffer( myRichPrint, buffer ) 

You should be able to format a wxRichTextCtrl control like this. However, show_modal() throws a Segmentation fault with this code.

atom dialog = create( wxRichTextFormattingDialog, {wxRICHTEXT_FORMAT_STYLE_EDITOR,myFrame} ) 
show_modal( dialog ) 

It seems to do with the RTTI (Runtime Type Information) system. The segfaults are on wxObject::Ref for get_buffer() and wxObject::IsKindOf for show_modal().

I will try to do some additional debugging on this. Not sure what exactly is going on yet.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu