On Apr 23, 11:05 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > 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

I'm not sure what GTK is, but on a Mac that style is ignored if it is
set.  Naturally, you can also style the text without that style being
set.  So, if you want your program to work cross platform, I assume
you should set that style.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to