]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
don't draw themed background for standard controls; they do it themselves and so...
[wxWidgets.git] / src / msw / window.cpp
index be1e77d539a9468673443e837199e82e8ed6f7c5..72a51acc98be44059b0646e2c9a2328c600b353e 100644 (file)
@@ -4020,6 +4020,7 @@ void wxWindowMSW::OnEraseBackground(wxEraseEvent& event)
             // automatically apply the tab control theme background to any
             // child panels to have the same look as the native property sheet
             // dialogs
+            if ( !IsOfStandardClass() )
             {
                 for ( wxWindow *win = this; win; win = win->GetParent() )
                 {