Allow changing the colour of wxInfoBarGeneric text.

Override SetForegroundColour() to forward it to the text control.

See #15671.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-11-16 23:37:43 +00:00
parent 94e3516305
commit d466d76701
2 changed files with 14 additions and 0 deletions

View File

@@ -79,6 +79,9 @@ public:
// (default font is a larger and bold version of the normal one)
virtual bool SetFont(const wxFont& font);
// same thing with the colour: this affects the text colour
virtual bool SetForegroundColour(const wxColor& colour);
protected:
// info bar shouldn't have any border by default, the colour difference
// between it and the main window separates it well enough