- // default style for the control include WS_TABSTOP if it AcceptsFocus()
- virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
+ // call this from the derived class MSWControlColor() if you want to show
+ // the control greyed out (and opaque)
+ WXHBRUSH MSWControlColorDisabled(WXHDC pDC);
+
+ // common part of the 3 functions above: pass wxNullColour to use the
+ // appropriate background colour (meaning ours or our parents) or a fixed
+ // one
+ virtual WXHBRUSH DoMSWControlColor(WXHDC pDC, wxColour colBg, WXHWND hWnd);