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:
@@ -97,13 +97,9 @@ wxThemeInfo::wxThemeInfo(Constructor c,
|
|||||||
}
|
}
|
||||||
else // use native theme by default
|
else // use native theme by default
|
||||||
{
|
{
|
||||||
#if defined(__WXMSW__)
|
#if defined(__WXGTK__)
|
||||||
nameDefTheme = _T("win32");
|
|
||||||
#elif defined(__WXGTK__)
|
|
||||||
nameDefTheme = _T("gtk");
|
nameDefTheme = _T("gtk");
|
||||||
#elif defined(__WXMGL__)
|
#else
|
||||||
nameDefTheme = _T("win32");
|
|
||||||
#elif defined(__WXPM__)
|
|
||||||
nameDefTheme = _T("win32");
|
nameDefTheme = _T("win32");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user