X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4ba9eb2b7921ac0ce6512ff407e6ffb85a61ebe..7af68c666bda771e37812ca37f0c6cc1741fa3ec:/src/univ/theme.cpp diff --git a/src/univ/theme.cpp b/src/univ/theme.cpp index 3982bcf728..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(); }