// Author: Julian Smart
// Modified by:
// Created: 17/09/98
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
{
}
- bool LoadFile(const wxString& name, wxBitmapType flags = wxICON_DEFAULT_TYPE,
- int WXUNUSED(desiredWidth)=-1, int WXUNUSED(desiredHeight)=-1)
- { return LoadFile(name, flags); }
+ 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 = wxICON_DEFAULT_TYPE)
+ { return wxBitmap::LoadFile(name, flags); }
// create from bitmap (which should have a mask unless it's monochrome):
// there shouldn't be any implicit bitmap -> icon conversion (i.e. no