diff --git a/src/common/resource.cpp b/src/common/resource.cpp index 5a01013738..e2aae813d7 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -2483,7 +2483,7 @@ wxBitmap wxResourceCreateBitmap(const wxString& resource, wxResourceTable *table } default: { - return wxBitmap(name, bitmapType); + return wxBitmap(name, (wxBitmapType)bitmapType); } } #ifndef __WXGTK__