Re: Set Text Color for wxStaticText
- Posted by Brian Clark <bkc02 at health.state.ny.us> Apr 30, 2007
- 646 views
Thanks Matt Matt Lewis wrote: > > 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: > }}} <eucode> > void = call_member( wxWindowBase_SetForegroundColour, Label, {Red}) > </eucode> {{{ > > Also, the color isn't being created properly. You need to wrap "Red" in > curly braces: > }}} <eucode> > Red = create( wxColour, {"Red"}) > </eucode> {{{ > > Matt