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
This commit is contained in:
Vadim Zeitlin
2004-11-19 20:37:20 +00:00
parent 012e1eebae
commit b8a9578b80

View 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() )
{