X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f97a0d599100c2eb6d84ac0480bfc8d3dadc747..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/generic/icon.h?ds=sidebyside 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):