X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7d6c56303bf5673372f091400aeaa79efb03d7c..a70517e979955e17608126c9d8f7bf57879b5fbe:/src/msw/dcclient.cpp diff --git a/src/msw/dcclient.cpp b/src/msw/dcclient.cpp index 3eff38d0d4..e97fe01af2 100644 --- a/src/msw/dcclient.cpp +++ b/src/msw/dcclient.cpp @@ -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