#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:
+ // Since the native metafile format is PDF for Quartz
+ // we need a call that allows setting PICT content for
+ // backwards compatibility
+ void SetPICT(void* pictHandle) ;
};
class WXDLLEXPORT wxMetafileDC: public wxDC