}
wxIcon::wxIcon(
- const wxString& icon_file, int flags,
+ const wxString& icon_file, wxBitmapType flags,
int desiredWidth, int desiredHeight )
{
- LoadFile( icon_file, (wxBitmapType) flags, desiredWidth, desiredHeight );
+ LoadFile( icon_file, flags, desiredWidth, desiredHeight );
}
wxIcon::wxIcon(WXHICON icon, const wxSize& size)
IMPLEMENT_DYNAMIC_CLASS(wxICONResourceHandler, wxBitmapHandler)
bool wxICONResourceHandler::LoadFile(
- wxBitmap *bitmap, const wxString& name, long WXUNUSED(flags),
+ wxBitmap *bitmap, const wxString& name, wxBitmapType WXUNUSED(flags),
int desiredWidth, int desiredHeight )
{
wxIcon icon ;