X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55ccdb93e4ae4b606a4068cb37492c1ec3ed77a6..c282ec44024689f736f76772a3ffd1fccf4b7d07:/include/wx/msw/metafile.h diff --git a/include/wx/msw/metafile.h b/include/wx/msw/metafile.h index 3fb6377b42..0ef7398f88 100644 --- a/include/wx/msw/metafile.h +++ b/include/wx/msw/metafile.h @@ -23,11 +23,11 @@ // Metafile and metafile device context classes // ---------------------------------------------------------------------------- -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(); virtual ~wxMetafileRefData(); @@ -88,9 +88,11 @@ public: // Should be called at end of drawing virtual wxMetafile *Close(); 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; + virtual void DoGetTextExtent(const wxString& string, + wxCoord *x, wxCoord *y, + wxCoord *descent = NULL, + wxCoord *externalLeading = NULL, + const wxFont *theFont = NULL) const; // Implementation wxMetafile *GetMetaFile() const { return m_metaFile; }