~wxMetafileRefData(void);
public:
- PicHandle m_metafile;
+ WXHMETAFILE m_metafile;
};
#define M_METAFILEDATA ((wxMetafileRefData *)m_refData)
DECLARE_DYNAMIC_CLASS(wxMetafile)
public:
// Copy constructor
- inline wxMetafile(const wxMetafile& metafile)
+ wxMetafile(const wxMetafile& metafile)
+ : wxGDIObject()
{ Ref(metafile); }
wxMetafile(const wxString& file = "");
inline bool Ok(void) const { return (M_METAFILEDATA && (M_METAFILEDATA->m_metafile != 0)); };
// Implementation
- inline PicHandle GetHMETAFILE(void) { return M_METAFILEDATA->m_metafile; }
- void SetHMETAFILE(PicHandle mf) ;
+ inline WXHMETAFILE GetHMETAFILE(void) { return M_METAFILEDATA->m_metafile; }
+ void SetHMETAFILE(WXHMETAFILE mf) ;
// Operators
inline wxMetafile& operator = (const wxMetafile& metafile) { if (*this == metafile) return (*this); Ref(metafile); return *this; }