Hi,

since python 2.3.4 and wxPython 0.6 it was possible to render rtf in  
wxTextCtr like

class RTFWindow(wx.TextCtrl):

   def __init__ (self,parent):
     wx.TextCtrl.__init__(self,parent,style = wx.TE_MULTILINE |  
wx.TE_RICH | wx.TE_READONLY)

...
win = RTFWindow(None)
win.rtfSubWin.LoadFile(path)

and it would render RTF correctly.

However, since then, I only get the source of the RTF as plain  
text...  any ideas why this is?

Is there any way to easily convert the RTF into HTML in python? Then  
I could use wx.HTML...

thanks for advice
Chris

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to