From: Chris Elliott Date: Fri, 14 Jun 2002 14:17:29 +0000 (+0000) Subject: fixes MSW comparision where theme name extracted from the environment is in upper... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b8d5d8b8321fa5211c2d3b316ebd476280ae5ed6 fixes MSW comparision where theme name extracted from the environment is in upper case git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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(); }