X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb129171c2653ca2202849e609cc41a6ddd0a9cb..b04237742c51e022af8ca8fe8933437734f392a3:/src/msw/dcclient.cpp?ds=sidebyside diff --git a/src/msw/dcclient.cpp b/src/msw/dcclient.cpp index e97fe01af2..1e667aa704 100644 --- a/src/msw/dcclient.cpp +++ b/src/msw/dcclient.cpp @@ -109,9 +109,6 @@ void wxWindowDCImpl::InitDC() // DrawText() to OPAQUE as required, otherwise always TRANSPARENT, ::SetBkMode(GetHdc(), TRANSPARENT); - // default bg colour is pne of the window - 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 InitializePalette();