From b8d5d8b8321fa5211c2d3b316ebd476280ae5ed6 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Fri, 14 Jun 2002 14:17:29 +0000 Subject: [PATCH] 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 --- src/univ/theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.45.2