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
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user