- wxBitmapHandler() { m_type = wxBITMAP_TYPE_INVALID; }
- wxBitmapHandler(const wxString& name, const wxString& ext, long type)
- : wxGDIImageHandler(name, ext, type)
- {
- }
-
- // keep wxBitmapHandler derived from wxGDIImageHandler compatible with the
- // old class which worked only with bitmaps
- virtual bool Create(wxBitmap *bitmap,
- const void* data,
- long flags,
- int width, int height, int depth = 1)
- {
- return Create((wxGDIImage *)bitmap, data, flags, width, height, depth);
- }
-
- virtual bool LoadFile(wxBitmap *bitmap,
- const wxString& name,
- long flags,
- int desiredWidth, int desiredHeight)
- {
- return Load(bitmap, name, flags, desiredWidth, desiredHeight);
- }
+ wxBitmapHandler() { }
+ wxBitmapHandler(const wxString& name, const wxString& ext, wxBitmapType type)
+ : wxGDIImageHandler(name, ext, type) { }