- // Operators
- inline wxMetafile& operator = (const wxMetafile& metafile) { if (*this == metafile) return (*this); Ref(metafile); return *this; }
- inline bool operator == (const wxMetafile& metafile) { return m_refData == metafile.m_refData; }
- inline bool operator != (const wxMetafile& metafile) { return m_refData != metafile.m_refData; }
+
+class WXDLLEXPORT wxMetafileDCImpl: public wxGCDCImpl
+{
+public:
+ wxMetafileDCImpl( wxDC *owner,
+ const wxString& filename,
+ int width, int height,
+ const wxString& description );
+
+ virtual ~wxMetafileDCImpl();
+
+ // Should be called at end of drawing
+ virtual wxMetafile *Close();
+
+ // Implementation
+ wxMetafile *GetMetaFile(void) const { return m_metaFile; }
+ void SetMetaFile(wxMetafile *mf) { m_metaFile = mf; }