]> git.saurik.com Git - wxWidgets.git/commitdiff
undef wxUSE_THEME_XXX before redefining them to 1 if wxUSE_ALL_THEMES
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 29 Sep 2006 18:36:53 +0000 (18:36 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 29 Sep 2006 18:36:53 +0000 (18:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/univ/theme.h

index 032fe65d62bab74c28d0a390ccf2262385515888..a5712c0c85786f00cb09c794d2f5ded2be94cf45 100644 (file)
@@ -133,9 +133,13 @@ struct WXDLLEXPORT wxThemeInfo
 // ----------------------------------------------------------------------------
 
 #if wxUSE_ALL_THEMES
+    #undef  wxUSE_THEME_WIN32
     #define wxUSE_THEME_WIN32  1
+    #undef  wxUSE_THEME_GTK
     #define wxUSE_THEME_GTK    1
+    #undef  wxUSE_THEME_MONO
     #define wxUSE_THEME_MONO   1
+    #undef  wxUSE_THEME_METAL
     #define wxUSE_THEME_METAL  1
 #endif // wxUSE_ALL_THEMES