From 6f97a0d599100c2eb6d84ac0480bfc8d3dadc747 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 31 Dec 2008 11:50:05 +0000 Subject: [PATCH] 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 --- include/wx/generic/icon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2