Fixed wxX11 compilo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2003-08-18 18:19:25 +00:00
parent 6a89f9ee42
commit 9fff6f7fd8

View 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
}
}