]> git.saurik.com Git - wxWidgets.git/commitdiff
wxBitmap compilation fix for BCC enforced typecast in resource.cpp
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 11 Apr 2001 22:21:15 +0000 (22:21 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 11 Apr 2001 22:21:15 +0000 (22:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/resource.cpp

index 5a0101373837f0ef9793aa8a2bc8fdaacd6f40b7..e2aae813d77dfa782733a158e4ea98eb0e587a99 100644 (file)
@@ -2483,7 +2483,7 @@ wxBitmap wxResourceCreateBitmap(const wxString& resource, wxResourceTable *table
             }
         default:
             {
-                return wxBitmap(name, bitmapType);
+                return wxBitmap(name, (wxBitmapType)bitmapType);
             }
         }
 #ifndef __WXGTK__