From: Julian Smart Date: Tue, 12 Feb 2002 11:35:34 +0000 (+0000) Subject: Simplified default wxTheme code and made sure a default X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/43d611cbcc7ddb5275edf4e9e73736a21e04075a Simplified default wxTheme code and made sure a default 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 --- diff --git a/src/univ/theme.cpp b/src/univ/theme.cpp index 254254b69a..c5fb2f495e 100644 --- a/src/univ/theme.cpp +++ b/src/univ/theme.cpp @@ -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 }