-
- bool LoadFile(const wxString& name, long flags = wxBITMAP_TYPE_XPM,
- int desiredWidth = -1, int desiredHeight = -1);
+
+ bool LoadFile(const wxString& name, wxBitmapType type,
+ int desiredWidth, int desiredHeight = -1);
+
+ // unhide base class LoadFile()
+ virtual bool LoadFile(const wxString& name,
+ wxBitmapType type = wxBITMAP_TYPE_XPM)
+ {
+ return LoadFile(name, type, -1, -1);
+ }