virtual bool Create(int width, int height, int depth = wxBITMAP_SCREEN_DEPTH) = 0;
virtual bool Create(const wxSize& sz, int depth = wxBITMAP_SCREEN_DEPTH) = 0;
// Create a bitmap compatible with the given DC, inheriting its magnification factor
- virtual bool Create(int width, int height, const wxDC& dc);
virtual int GetHeight() const = 0;
virtual int GetWidth() const = 0;
bool Create(int width, int height, int depth = wxBITMAP_SCREEN_DEPTH);
bool Create(const wxSize& sz, int depth = wxBITMAP_SCREEN_DEPTH)
{ return Create(sz.GetWidth(), sz.GetHeight(), depth); }
+ bool Create(int width, int height, const wxDC& WXUNUSED(dc))
+ { return Create(width,height); }
+
virtual int GetHeight() const;
virtual int GetWidth() const;
wxList wxBitmapBase::sm_handlers;
-bool wxBitmapBase::Create(int width, int height, const wxDC& WXUNUSED(dc))
-{
- return Create(width,height);
-}
-
void wxBitmapBase::AddHandler(wxBitmapHandler *handler)
{
sm_handlers.Append(handler);