diff --git a/src/common/resource.cpp b/src/common/resource.cpp index 7b8918622c..fc9b8f507a 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -2173,7 +2173,7 @@ wxBitmap wxResourceCreateBitmap(const wxString& resource, wxResourceTable *table "Forgot to use wxResourceLoadBitmapData?"), (const char*) name); return wxNullBitmap; } - return wxBitmap(item->GetValue1()); + return wxBitmap((const char **)item->GetValue1()); #else wxLogWarning(_("No XPM facility available!")); #endif