X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b3eb4aa61cb7f637933d560d322f2b68cf1adf0..77c8efc8c37da6d6a5e2e8022d21d1cd7d76371d:/include/wx/generic/icon.h?ds=sidebyside diff --git a/include/wx/generic/icon.h b/include/wx/generic/icon.h index d7b13446b0..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, - int WXUNUSED(desiredWidth)=-1, int WXUNUSED(desiredHeight)=-1) + 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):