Originally Posted by
MaxVK
Not 'fly code', I mean on the fly, as in added to the control at startup using code (as opposed to loading a file).
Max
Max, you *can* load and save RTF files using wxRichTextCtrl, but they will be stored as XML files. Just fire up the wxPython demo, go to the wxRichTextCtrl specific demo, launch it, go to the File menu, select Save As, then select "XML files" for File type and save the document.
Now you can load it back in by going to the File menu and selecting the Open command. In the Open dialog select "XML files" for File type so you can find the saved document.
This must be working on all the platforms supported by wxPython.
Alexei