From: Vadim Zeitlin Date: Fri, 19 Nov 2004 20:37:20 +0000 (+0000) Subject: don't draw themed background for standard controls; they do it themselves and so... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b8a9578b802f1d6de10d315f943b61cefc6c2f54 don't draw themed background for standard controls; they do it themselves and so this only results in even more flicker git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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() ) {