X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67d947ba89b176c05c7707f44e4381bdef0f21c8..d60bd5b51eede661744d191d053a53ac1ac6ba36:/src/univ/theme.cpp diff --git a/src/univ/theme.cpp b/src/univ/theme.cpp index 31f592280a..d110c5bf0b 100644 --- a/src/univ/theme.cpp +++ b/src/univ/theme.cpp @@ -64,7 +64,7 @@ wxThemeInfo::wxThemeInfo(Constructor c, wxThemeInfo *info = ms_allThemes; while ( info ) { - if ( name == info->name ) + if ( name.CmpNoCase(info->name) == 0 ) { return info->ctor(); } @@ -100,7 +100,7 @@ wxThemeInfo::wxThemeInfo(Constructor c, #if defined(__WXGTK__) nameDefTheme = _T("gtk"); #elif defined(__WXX11__) - nameDefTheme = _T("Metal"); + nameDefTheme = _T("win32"); #else nameDefTheme = _T("win32"); #endif