X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e542ecc6f610409e6b17b48716daf613edbaf2e6..3193b86f29845b6e72f891400117879e6b97b112:/src/mac/carbon/metafile.cpp?ds=sidebyside diff --git a/src/mac/carbon/metafile.cpp b/src/mac/carbon/metafile.cpp index 1defd6020b..8bb2a11842 100644 --- a/src/mac/carbon/metafile.cpp +++ b/src/mac/carbon/metafile.cpp @@ -38,7 +38,7 @@ class wxMetafileRefData: public wxGDIRefData public: wxMetafileRefData(); - ~wxMetafileRefData(); + virtual ~wxMetafileRefData(); private: PicHandle m_metafile; @@ -48,10 +48,6 @@ private: #endif }; - -extern bool wxClipboardIsOpen; - - wxMetafileRefData::wxMetafileRefData() { m_metafile = NULL; @@ -92,7 +88,7 @@ wxMetaFile::~wxMetaFile() { } -bool wxMetaFile::Ok() const +bool wxMetaFile::IsOk() const { return (M_METAFILEDATA && (M_METAFILEDATA->m_metafile != NULL)); }