virtual int GetWidth() const = 0;
virtual int GetDepth() const = 0;
+ wxSize GetSize() const
+ { return wxSize(GetWidth(), GetHeight()); }
+
#if wxUSE_IMAGE
virtual wxImage ConvertToImage() const = 0;
#endif // wxUSE_IMAGE
virtual wxBitmap GetSubBitmap(const wxRect& rect) const = 0;
virtual bool SaveFile(const wxString &name, wxBitmapType type,
- const wxPalette *palette = (wxPalette *)NULL) const = 0;
+ const wxPalette *palette = NULL) const = 0;
virtual bool LoadFile(const wxString &name, wxBitmapType type) = 0;
/*