X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fde6fcc9b551340a194ae4c726db5ab64b5c594..fd88dcbccd814dda094b9756b9059bf5ed281be1:/src/common/resource.cpp 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__