]> git.saurik.com Git - wxWidgets.git/commitdiff
don't apply tab control background when using wxUniv, it renders background itself
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Nov 2004 22:19:34 +0000 (22:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Nov 2004 22:19:34 +0000 (22:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index 72a51acc98be44059b0646e2c9a2328c600b353e..864a390d85bc20e351397752c1431633b3201306 100644 (file)
@@ -4016,7 +4016,7 @@ void wxWindowMSW::OnEraseBackground(wxEraseEvent& event)
             break;
 
         case wxBG_STYLE_SYSTEM:
-#if wxUSE_NOTEBOOK && wxUSE_UXTHEME
+#if wxUSE_NOTEBOOK && wxUSE_UXTHEME && !defined(__WXUNIVERSAL__)
             // automatically apply the tab control theme background to any
             // child panels to have the same look as the native property sheet
             // dialogs