]> git.saurik.com Git - wxWidgets.git/commitdiff
fixes MSW comparision where theme name extracted from the environment is in upper...
authorChris Elliott <biol75@york.ac.uk>
Fri, 14 Jun 2002 14:17:29 +0000 (14:17 +0000)
committerChris Elliott <biol75@york.ac.uk>
Fri, 14 Jun 2002 14:17:29 +0000 (14:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/theme.cpp

index 3982bcf72863952dc45dc43b474682e8ae10f88c..d110c5bf0bdf4ef91e4c38f8ebbe44ddff5c8b00 100644 (file)
@@ -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();
         }