From e9c7dfb9b5ed703284c642709df3f62e36c33b89 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 22 Jun 1998 22:03:20 +0000 Subject: [PATCH] now compiles with USE_XPM_IN_MSW on git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/resource.cpp b/src/common/resource.cpp index cda27959fd..785d7b8014 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -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 -- 2.45.2