wxStaticText markup

BlitzMax Forums/Brucey's Modules/wxStaticText markup

TaskMaster(Posted 2008) [#1]
Brucey, does the wxStaticText control you have implemented support the wxST_MARKUP style? I can't find a way to turn it on.

If not, do you know how I would go about making the text in the wxStaticText control to be bold? Is there another method of changing fonts and font styles in the controls?

Thanks.


Brucey(Posted 2008) [#2]
I believe wxST_MARKUP is a v2.9 style... at least, it doesn't appear in the 2.8 headers.

wxWindow has a SetFont() method which should allow you to do what you need.

Type heirarchy :

wxStaticText -> wxControl -> wxWindow -> wxEvtHandler -> ...

:o)


TaskMaster(Posted 2008) [#3]
Works like a champ.

Thanks Brucey.