X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dca0f651782d5c2659203c97b3243f613966998d..47af39fbf462db5c9ccf41c8d95a16d53fdb94a7:/src/msw/control.cpp diff --git a/src/msw/control.cpp b/src/msw/control.cpp index b58195c0cf..24a4e37f2c 100644 --- a/src/msw/control.cpp +++ b/src/msw/control.cpp @@ -392,10 +392,9 @@ WXHBRUSH wxControl::DoMSWControlColor(WXHDC pDC, wxColour colBg, WXHWND hWnd) ::SetBkColor(hdc, wxColourToRGB(colBg)); // draw children with the same colour as the parent - wxBrush *brush = wxTheBrushList->FindOrCreateBrush(colBg, wxSOLID); - + wxBrush *brush = wxTheBrushList->FindOrCreateBrush(colBg, + wxBRUSHSTYLE_SOLID); hbr = (WXHBRUSH)brush->GetResourceHandle(); - } // if we use custom background, we should set foreground ourselves too