- // the base class version returns bg colour if it had been explicitely set
- // or wxNullColour otherwise
- virtual wxColour MSWGetBgColourForChild(wxWindow *child);
-
- // convenience function: returns a solid brush of the colour returned by
- // MSWGetBgColourForChild() or 0
- WXHBRUSH MSWGetSolidBgBrushForChild(wxWindow *child);
+ // hWndToPaint is normally NULL meaning this window itself, but it can also
+ // be a child of this window which is used by the static box and could be
+ // potentially useful for other transparent controls
+ WXHBRUSH MSWGetBgBrush(WXHDC hDC, WXHWND hWndToPaint = NULL);