diff --git a/src/msw/control.cpp b/src/msw/control.cpp index d5775be8b7..b83a78ae32 100644 --- a/src/msw/control.cpp +++ b/src/msw/control.cpp @@ -343,6 +343,8 @@ WXHBRUSH wxControl::DoMSWControlColor(WXHDC pDC, wxColour colBg) WXHBRUSH hbr; if ( colBg.Ok() ) { + ::SetBkColor(hdc, wxColourToRGB(colBg)); + // draw children with the same colour as the parent wxBrush *brush = wxTheBrushList->FindOrCreateBrush(colBg, wxSOLID);