diff --git a/src/msw/window.cpp b/src/msw/window.cpp index be1e77d539..72a51acc98 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -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() ) {