- inline wxICONResourceHandler()
- {
- SetName(wxT("ICON resource"));
- SetExtension(wxEmptyString);
- SetType(wxBITMAP_TYPE_ICON_RESOURCE);
- };
-
- virtual bool LoadFile(wxBitmap *bitmap,
- const wxString& name,
- wxBitmapType flags,
- int desiredWidth = -1,
- int desiredHeight = -1);
- // unhide the base class virtual
- virtual bool LoadFile(wxBitmap *bitmap,
- const wxString& name,
- wxBitmapType flags)
- { return LoadFile(bitmap, name, flags, -1, -1); }
+ wxICONResourceHandler()
+ {
+ SetName(wxT("ICON resource"));
+ SetExtension(wxEmptyString);
+ SetType(wxBITMAP_TYPE_ICON_RESOURCE);
+ }
+
+ virtual bool LoadFile(wxBitmap *bitmap,
+ const wxString& name,
+ wxBitmapType flags,
+ int desiredWidth = -1,
+ int desiredHeight = -1);
+
+ // unhide the base class virtual
+ virtual bool LoadFile(wxBitmap *bitmap,
+ const wxString& name,
+ wxBitmapType flags)
+ { return LoadFile(bitmap, name, flags, -1, -1); }
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxICONResourceHandler)