]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for LoadFile(name, type) calls which became ambiguous after the base...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 31 Dec 2008 11:50:05 +0000 (11:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 31 Dec 2008 11:50:05 +0000 (11:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/icon.h

index d7b13446b01c58e13bc0b6243eb746764c83b2e2..bc20e9f175605c0c7cca2eaf3e0932f8c9998179 100644 (file)
@@ -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