From: Vadim Zeitlin Date: Wed, 31 Dec 2008 15:27:00 +0000 (+0000) Subject: compilation fix after last change X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2ffeccb3b73dbf4424e3ba098e357a2eba36634d compilation fix after last change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/icon.h b/include/wx/generic/icon.h index bc20e9f175..3a1f5072ac 100644 --- a/include/wx/generic/icon.h +++ b/include/wx/generic/icon.h @@ -42,12 +42,13 @@ public: { } - bool LoadFile(const wxString& name, wxBitmapType flags = wxICON_DEFAULT_TYPE, + bool LoadFile(const wxString& name, wxBitmapType flags, int WXUNUSED(desiredWidth), int WXUNUSED(desiredHeight)) { return wxBitmap::LoadFile(name, flags); } // unhide the base class version - virtual bool LoadFile(const wxString& name, wxBitmapType flags) + virtual bool LoadFile(const wxString& name, + wxBitmapType flags = wxICON_DEFAULT_TYPE) { return wxBitmap::LoadFile(name, flags); } // create from bitmap (which should have a mask unless it's monochrome):