From 9fff6f7fd83c6f63f0bdb1c16c7e64b40094a76b Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 18 Aug 2003 18:19:25 +0000 Subject: [PATCH] Fixed wxX11 compilo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/deprecated/resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/src/deprecated/resource.cpp b/contrib/src/deprecated/resource.cpp index a179f370d2..6cb2408fe7 100644 --- a/contrib/src/deprecated/resource.cpp +++ b/contrib/src/deprecated/resource.cpp @@ -2663,7 +2663,7 @@ wxIcon wxResourceCreateIcon(const wxString& resource, wxResourceTable *table) wxLogWarning(_("Icon resource specification %s not found."), (const wxChar*) resource); break; #else - return wxIcon(name, bitmapType); + return wxIcon(name, (wxBitmapType) bitmapType); #endif } }