]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/theme.cpp
Take into account icon mask in wxStaticBitmap
[wxWidgets.git] / 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();
         }