X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7cacb43db1e69b87b257a67912b4d52995b070a..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/os2/metafile.h diff --git a/include/wx/os2/metafile.h b/include/wx/os2/metafile.h index 41e256c552..55cf236972 100644 --- a/include/wx/os2/metafile.h +++ b/include/wx/os2/metafile.h @@ -30,11 +30,11 @@ #define wxMetaFile wxMetafile #define wxMetaFileDC wxMetafileDC -class WXDLLEXPORT wxMetafile; +class WXDLLIMPEXP_FWD_CORE wxMetafile; class WXDLLEXPORT wxMetafileRefData: public wxGDIRefData { - friend class WXDLLEXPORT wxMetafile; + friend class WXDLLIMPEXP_FWD_CORE wxMetafile; public: wxMetafileRefData(void); virtual ~wxMetafileRefData(void); @@ -66,12 +66,6 @@ public: void SetHMETAFILE(WXHANDLE mf) ; inline int GetWindowsMappingMode(void) { return M_METAFILEDATA->m_windowsMappingMode; } void SetWindowsMappingMode(int mm); - - // 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; } }; class WXDLLEXPORT wxMetafileDC: public wxDC @@ -94,7 +88,7 @@ public: virtual void SetMapMode(int mode); virtual void GetTextExtent(const wxString& string, long *x, long *y, long *descent = NULL, long *externalLeading = NULL, - wxFont *theFont = NULL, bool use16bit = false) const; + const wxFont *theFont = NULL, bool use16bit = false) const; // Implementation inline wxMetafile *GetMetaFile(void) const { return m_metaFile; }