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
This commit is contained in:
Julian Smart 2002-02-12 11:35:34 +00:00
parent e41dcea547
commit 43d611cbcc

View 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
}