]> git.saurik.com Git - wxWidgets.git/commitdiff
Simplified default wxTheme code and made sure a default
authorJulian Smart <julian@anthemion.co.uk>
Tue, 12 Feb 2002 11:35:34 +0000 (11:35 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 12 Feb 2002 11:35:34 +0000 (11:35 +0000)
is available without having to set the WXTHEME variable.
The 'default default' is WIN32. So flame me :-)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/theme.cpp

index 254254b69ac24b1ef915554b6f68eb61d7bc7273..c5fb2f495e6788bc1482d20fd4e42f4ba2bcaa5e 100644 (file)
@@ -97,13 +97,9 @@ wxThemeInfo::wxThemeInfo(Constructor c,
     }
     else // use native theme by default
     {
-        #if defined(__WXMSW__)
-            nameDefTheme = _T("win32");
-        #elif defined(__WXGTK__)
+        #if defined(__WXGTK__)
             nameDefTheme = _T("gtk");
-        #elif defined(__WXMGL__)
-            nameDefTheme = _T("win32");
-        #elif defined(__WXPM__)
+        #else
             nameDefTheme = _T("win32");
         #endif
     }