]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix after last change
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 31 Dec 2008 15:27:00 +0000 (15:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 31 Dec 2008 15:27:00 +0000 (15:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/icon.h

index bc20e9f175605c0c7cca2eaf3e0932f8c9998179..3a1f5072acd160792bd4029dee145fa42bf1cbf9 100644 (file)
@@ -42,12 +42,13 @@ public:
     {
     }
 
-    bool LoadFile(const wxString& name, wxBitmapType flags = wxICON_DEFAULT_TYPE,
+    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):