]> git.saurik.com Git - wxWidgets.git/commitdiff
now compiles with USE_XPM_IN_MSW on
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Jun 1998 22:03:20 +0000 (22:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Jun 1998 22:03:20 +0000 (22:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/resource.cpp

index cda27959fd24c562320a1e3752c083b04904ac41..785d7b8014af3f087fef64b7071ec42f9a2d332f 100644 (file)
@@ -2111,7 +2111,7 @@ wxBitmap *wxResourceCreateBitmap(char *resource, wxResourceTable *table)
           wxWarning(buf);
           return NULL;
         }
-        bitmap = new wxBitmap((char **)item->GetValue1());
+        bitmap = new wxBitmap(item->GetValue1());
 #else
         wxWarning("No XPM facility available!");
 #endif