]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcclient.cpp
don't compile in wx hash code unless we really use it (#9532:12)
[wxWidgets.git] / src / msw / dcclient.cpp
index 3eff38d0d4bbd01b181d52090bf2c6fb58537757..e97fe01af2b2a691b9c822bcd73d0db792bc2bb2 100644 (file)
@@ -110,7 +110,7 @@ void wxWindowDCImpl::InitDC()
     ::SetBkMode(GetHdc(), TRANSPARENT);
 
     // default bg colour is pne of the window
-    SetBackground(wxBrush(m_window->GetBackgroundColour(), wxSOLID));
+    SetBackground(wxBrush(m_window->GetBackgroundColour(), wxBRUSHSTYLE_SOLID));
 
     // since we are a window dc we need to grab the palette from the window
 #if wxUSE_PALETTE