inline wxMetafile(const wxMetafile& metafile)
{ Ref(metafile); }
- wxMetafile(const wxString& file = "");
+ wxMetafile(const wxString& file = wxEmptyString);
~wxMetafile(void);
// After this is called, the metafile cannot be used for anything
void SetWindowsMappingMode(int mm);
// 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; }
+ inline wxMetafile& operator = (const wxMetafile& metafile)
+ { if (*this == metafile) return (*this); Ref(metafile); return *this; }
+ 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:
};
public:
// Don't supply origin and extent
// Supply them to wxMakeMetaFilePlaceable instead.
- wxMetafileDC(const wxString& file = "");
+ wxMetafileDC(const wxString& file = wxEmptyString);
// Supply origin and extent (recommended).
// Then don't need to supply them to wxMakeMetaFilePlaceable.