]> 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 c5fb2f495e6788bc1482d20fd4e42f4ba2bcaa5e..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();
         }
@@ -99,6 +99,8 @@ wxThemeInfo::wxThemeInfo(Constructor c,
     {
         #if defined(__WXGTK__)
             nameDefTheme = _T("gtk");
+        #elif defined(__WXX11__)
+            nameDefTheme = _T("win32");
         #else
             nameDefTheme = _T("win32");
         #endif