From ee7841ab1340f9be2470c73ea632cc9aaa8290d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 11 Apr 2001 22:21:15 +0000 Subject: [PATCH] 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 --- src/common/resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__