bool Play(wxDC *dc, wxRect *rectBound = (wxRect *)NULL);
// accessors
- bool Ok() const { return m_hMF != 0; }
+ bool Ok() const { return IsOk(); }
+ bool IsOk() const { return m_hMF != 0; }
wxSize GetSize() const;
int GetWidth() const { return GetSize().x; }
// obtain a pointer to the new metafile (caller should delete it)
wxEnhMetaFile *Close();
-private:
+protected:
virtual void DoGetSize(int *width, int *height) const;
+private:
// size passed to ctor and returned by DoGetSize()
int m_width,
m_height;