X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c48d0d37c22b74ce0ff9f324c7426892b5d57332..726cc8697cd44a41b43257f05ca8cdd42b71a711:/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