[wx-dev] Problem in wxFont::SetNativeFontInfo

Vadim Zeitlin vadim at wxwidgets.org
Sat Mar 1 16:30:33 PST 2008


On Sat, 01 Mar 2008 09:52:58 -0800 Tyushkov Nikolay <wx at softvoile.com> wrote:

TN> >  Which version and port of wx do you use?
TN> >   
TN> 2.8.7, MSW,  Unicode static build

 Sorry, I do remember now: this was fixed 8 months ago in the trunk but I
didn't do it in 2.8 branch because I thought that we might break code which
relied on this function invalidating the font and we don't want to make
such silent changes between micro releases. So I'll just mention this
behaviour in 2.8 docs.

TN> > TN> P.S. Is there any way to set text and background colors for wxTextEdit 
TN> > TN> without wxTE_RICH style?
TN> >
TN> >  Yes, but for the entire control at once only.
TN> >   
TN> How I can do this? I can't find SetBackgroundColour and 
TN> SetForegroundColour for wxTextCtrl :(

 They're in the base class...

 Regards,
VZ





More information about the wx-dev mailing list