#define wxMetaFile wxMetafile
#define wxMetaFileDC wxMetafileDC
-class WXDLLEXPORT wxMetafile;
+class WXDLLIMPEXP_FWD_CORE wxMetafile;
class wxMetafileRefData ;
#define M_METAFILEDATA ((wxMetafileRefData *)m_refData)
virtual bool SetClipboard(int width = 0, int height = 0);
virtual bool Play(wxDC *dc);
- bool Ok() const ;
+ bool Ok() const { return IsOk(); }
+ bool IsOk() const ;
wxSize GetSize() const;
int GetWidth() const { return GetSize().x; }
// Implementation
WXHMETAFILE GetHMETAFILE() const ;
void SetHMETAFILE(WXHMETAFILE mf) ;
-
- // Operators
- inline bool operator == (const wxMetafile& metafile) const { return m_refData == metafile.m_refData; }
- inline bool operator != (const wxMetafile& metafile) const { return m_refData != metafile.m_refData; }
-
-protected:
};
class WXDLLEXPORT wxMetafileDC: public wxDC