X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c48d0d37c22b74ce0ff9f324c7426892b5d57332..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/motif/icon.h diff --git a/include/wx/motif/icon.h b/include/wx/motif/icon.h index 4b9e089fba..efadb28ba1 100644 --- a/include/wx/motif/icon.h +++ b/include/wx/motif/icon.h @@ -42,8 +42,13 @@ public: virtual ~wxIcon(); - bool LoadFile(const wxString& name, wxBitmapType type = wxICON_DEFAULT_TYPE, - int desiredWidth = -1, int desiredHeight = -1); + bool LoadFile(const wxString& name, wxBitmapType type, + int desiredWidth, int desiredHeight); + + // unhide the base class version + virtual bool LoadFile(const wxString& name, + wxBitmapType flags = wxICON_DEFAULT_TYPE) + { return LoadFile(name, flags); } // create from bitmap (which should have a mask unless it's monochrome): // there shouldn't be any implicit bitmap -> icon conversion (i.e. no