]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/theme.cpp
Fixed a crash when GetMonthControl returns NULL
[wxWidgets.git] / src / univ / theme.cpp
index 254254b69ac24b1ef915554b6f68eb61d7bc7273..3982bcf72863952dc45dc43b474682e8ae10f88c 100644 (file)
@@ -97,13 +97,11 @@ 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__)
+        #elif defined(__WXX11__)
             nameDefTheme = _T("win32");
-        #elif defined(__WXPM__)
+        #else
             nameDefTheme = _T("win32");
         #endif
     }