p***@gmail.com
2014-05-15 21:17:21 UTC
Hi All,
I'm trying to change the color of a text in wxAuiNotebook tabs, but don't
see the appropriate call.
I can change the color of he tab background and the tabs themselves (using
notebook:GetArtProvider():SetColour() and SetActiveColour() calls), I can
change the font itself, but don't see how I can change the color. It
seems that because the drawing is done on wxDC, SetTextBackground and
SetTextForeground methods should be used, but I don't see them being called
when tabs are drawn.
Is there an API call I'm missing to change the text color or is it not
possible to change the color? Thank you.
Paul.
I'm trying to change the color of a text in wxAuiNotebook tabs, but don't
see the appropriate call.
I can change the color of he tab background and the tabs themselves (using
notebook:GetArtProvider():SetColour() and SetActiveColour() calls), I can
change the font itself, but don't see how I can change the color. It
seems that because the drawing is done on wxDC, SetTextBackground and
SetTextForeground methods should be used, but I don't see them being called
when tabs are drawn.
Is there an API call I'm missing to change the text color or is it not
possible to change the color? Thank you.
Paul.
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users