X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..0b632977d75f403b7bc043d48a1c15e7394c546c:/include/wx/msw/metafile.h diff --git a/include/wx/msw/metafile.h b/include/wx/msw/metafile.h index a454c9690a..11cd119760 100644 --- a/include/wx/msw/metafile.h +++ b/include/wx/msw/metafile.h @@ -86,7 +86,7 @@ public: virtual ~wxMetafileDCImpl(); virtual wxMetafile *Close(); - virtual void SetMapMode(int mode); + virtual void SetMapMode(wxMappingMode mode); virtual void DoGetTextExtent(const wxString& string, wxCoord *x, wxCoord *y, wxCoord *descent = NULL, @@ -125,9 +125,9 @@ public: : wxDC(new wxMetafileDCImpl( this, file, xext, yext, xorg, yorg )) { } - wxMetafile *GetMetafile() const + wxMetafile *GetMetafile() const { return ((wxMetafileDCImpl*)m_pimpl)->GetMetaFile(); } - + wxMetafile *Close() { return ((wxMetafileDCImpl*)m_pimpl)->Close(); }