X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..8e7cb70ce34a3ba10fed3a7a708d66543eb314a6:/include/wx/mac/classic/metafile.h diff --git a/include/wx/mac/classic/metafile.h b/include/wx/mac/classic/metafile.h index 4cd1f66ca8..b42deec6fa 100644 --- a/include/wx/mac/classic/metafile.h +++ b/include/wx/mac/classic/metafile.h @@ -58,7 +58,8 @@ public: virtual bool SetClipboard(int width = 0, int height = 0); virtual bool Play(wxDC *dc); - inline bool Ok(void) const { return (M_METAFILEDATA && (M_METAFILEDATA->m_metafile != 0)); }; + inline bool Ok() const { return IsOk(); } + inline bool IsOk(void) const { return (M_METAFILEDATA && (M_METAFILEDATA->m_metafile != 0)); }; wxSize GetSize() const; int GetWidth() const { return GetSize().x; }