further wxPenStyle/wxBrushStyle fixes for builds with compat off (partially by Marcin Wojdyr)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user