X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e6efd1fd2f6cedda23140aff17f56b26ef7c2d2..2d5409f936104b4a3a1f1f67a36503083414466e:/include/wx/osx/metafile.h diff --git a/include/wx/osx/metafile.h b/include/wx/osx/metafile.h index 0014dcc7ae..a670312675 100644 --- a/include/wx/osx/metafile.h +++ b/include/wx/osx/metafile.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: metafile.h +// Name: wx/osx/metafile.h // Purpose: wxMetaFile, wxMetaFileDC classes. // This probably should be restricted to Windows platforms, // but if there is an equivalent on your platform, great. @@ -56,7 +56,7 @@ public: // Implementation WXHMETAFILE GetHMETAFILE() const ; void SetHMETAFILE(WXHMETAFILE mf) ; -#ifndef __LP64__ +#if wxOSX_USE_COCOA_OR_CARBON && !defined( __LP64__ ) // Since the native metafile format is PDF for Quartz // we need a call that allows setting PICT content for // backwards compatibility @@ -145,7 +145,7 @@ class WXDLLIMPEXP_CORE wxMetafileDataObject : public wxDataObjectSimple public: // ctors wxMetafileDataObject() - : wxDataObjectSimple(wxDF_METAFILE) { }; + : wxDataObjectSimple(wxDF_METAFILE) { } wxMetafileDataObject(const wxMetafile& metafile) : wxDataObjectSimple(wxDF_METAFILE), m_metafile(metafile) { }