- // 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);
- }
-
- virtual bool SaveFile(wxBitmap *bitmap,
- const wxString& name,
- int type,
- const wxPalette * WXUNUSED(palette) = NULL)
- {
- return Save(bitmap, name, type);
- }