]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcclient.cpp
disable workaround for lack of alpha support in native static bitmap control for...
[wxWidgets.git] / src / msw / dcclient.cpp
index 3eff38d0d4bbd01b181d52090bf2c6fb58537757..1e667aa7044f22eca12710c980ce2d167508c930 100644 (file)
@@ -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(), wxSOLID));
-
     // since we are a window dc we need to grab the palette from the window
 #if wxUSE_PALETTE
     InitializePalette();