From: Vadim Zeitlin Date: Wed, 31 Dec 2008 11:50:05 +0000 (+0000) Subject: compilation fix for LoadFile(name, type) calls which became ambiguous after the base... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6f97a0d599100c2eb6d84ac0480bfc8d3dadc747?ds=inline compilation fix for LoadFile(name, type) calls which became ambiguous after the base class LoadFile() unhiding git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/icon.h b/include/wx/generic/icon.h index d7b13446b0..bc20e9f175 100644 --- a/include/wx/generic/icon.h +++ b/include/wx/generic/icon.h @@ -43,7 +43,7 @@ public: } bool LoadFile(const wxString& name, wxBitmapType flags = wxICON_DEFAULT_TYPE, - int WXUNUSED(desiredWidth)=-1, int WXUNUSED(desiredHeight)=-1) + int WXUNUSED(desiredWidth), int WXUNUSED(desiredHeight)) { return wxBitmap::LoadFile(name, flags); } // unhide the base class version