]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
restore setting m_appName broken by recent change (fixes bug 1921954)
[wxWidgets.git] / src / msw / control.cpp
index b58195c0cf56d8b274f99f3eb4bc4a068f1467a7..24a4e37f2c4bc20c13d2057137d4e99314696d91 100644 (file)
@@ -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