wx.TextCtrl.SetDefaultStyle not working?
bcwhite at pobox.com
bcwhite at pobox.com
Mon Apr 23 13:05:24 EDT 2007
> On my platform, styling the text doesn't work for single line
> TextCtrl's(which seems kind of stupid), and on Windows I think you are
> required to specify wx.TE_RICH2 to style the text. This following
> code colors the entered text red for me:
That's it! I didn't have the TE_RICH2 option set. It works now.
The docs say it's Windows only. Does the GTK version work without
this flag?
-- Brian
More information about the Python-list
mailing list