Allow wxStaticText to have a custom fg without a custom bg

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-03-12 20:25:19 +00:00
parent a685a06c96
commit 1e255b00ce
3 changed files with 15 additions and 1 deletions

View File

@@ -133,7 +133,7 @@ protected:
// common part of the 3 functions above: pass wxNullColour to use the
// appropriate background colour (meaning ours or our parents) or a fixed
// one
WXHBRUSH DoMSWControlColor(WXHDC pDC, wxColour colBg);
virtual WXHBRUSH DoMSWControlColor(WXHDC pDC, wxColour colBg);
// another WM_CTLCOLOR-related function: override this to return the brush
// which should be used to paint the control background by default