fixed IMPLEMENT_APP to work even if compiled with --with-themes and win32 or gtk themes are not compiled in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -95,13 +95,9 @@ wxThemeInfo::wxThemeInfo(Constructor c,
|
|||||||
}
|
}
|
||||||
else // use native theme by default
|
else // use native theme by default
|
||||||
{
|
{
|
||||||
#if defined(__WXGTK__)
|
#ifdef wxUNIV_DEFAULT_THEME
|
||||||
nameDefTheme = _T("gtk");
|
nameDefTheme = _T(wxSTRINGIZE(wxUNIV_DEFAULT_THEME));
|
||||||
#elif defined(__WXX11__)
|
#endif
|
||||||
nameDefTheme = _T("win32");
|
|
||||||
#else
|
|
||||||
nameDefTheme = _T("win32");
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wxTheme *theme = Create(nameDefTheme);
|
wxTheme *theme = Create(nameDefTheme);
|
||||||
|
Reference in New Issue
Block a user