- bool LoadFile(const wxString& name, long flags = wxBITMAP_TYPE_ICO_RESOURCE,
- int desiredWidth = -1, int desiredHeight = -1);
+ wxIcon(const wxString& name, wxBitmapType type = wxBITMAP_TYPE_XPM,
+ int desiredWidth = -1, int desiredHeight = -1)
+ {
+ LoadFile(name, type, desiredWidth, desiredHeight);
+ }