X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43d611cbcc7ddb5275edf4e9e73736a21e04075a..7af68c666bda771e37812ca37f0c6cc1741fa3ec:/src/univ/theme.cpp diff --git a/src/univ/theme.cpp b/src/univ/theme.cpp index c5fb2f495e..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(); } @@ -99,6 +99,8 @@ wxThemeInfo::wxThemeInfo(Constructor c, { #if defined(__WXGTK__) nameDefTheme = _T("gtk"); + #elif defined(__WXX11__) + nameDefTheme = _T("win32"); #else nameDefTheme = _T("win32"); #endif