From: Václav Slavík Date: Wed, 11 Apr 2001 22:21:15 +0000 (+0000) Subject: wxBitmap compilation fix for BCC enforced typecast in resource.cpp X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ee7841ab1340f9be2470c73ea632cc9aaa8290d3 wxBitmap compilation fix for BCC enforced typecast in resource.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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__