Re: Set Text Color for wxStaticText
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Apr 26, 2007
- 689 views
Brian K. Clark wrote: > > > I'm struggling with what seems like it should be a simple enough task. How > do I change the text color of a wxStaticText control? It's not wrapped, but you need to use:
void = call_member( wxWindowBase_SetForegroundColour, Label, {Red})
Also, the color isn't being created properly. You need to wrap "Red" in curly braces:
Red = create( wxColour, {"Red"})
Matt