X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4ba9eb2b7921ac0ce6512ff407e6ffb85a61ebe..1e8724e6343d6b530c6d492357d75753b06d31f8:/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(); }