]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed wxX11 compilo
authorJulian Smart <julian@anthemion.co.uk>
Mon, 18 Aug 2003 18:19:25 +0000 (18:19 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 18 Aug 2003 18:19:25 +0000 (18:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/deprecated/resource.cpp

index a179f370d24188d86d9dffd23bed758f037fe358..6cb2408fe7318c746cfdcb69ee8c9c62ad7b13bf 100644 (file)
@@ -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
             }
         }