X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..f8b1df0b15f843b8f47efb9bee38f1de0fa95020:/include/wx/os2/metafile.h diff --git a/include/wx/os2/metafile.h b/include/wx/os2/metafile.h index 55cf236972..6a79199a78 100644 --- a/include/wx/os2/metafile.h +++ b/include/wx/os2/metafile.h @@ -39,6 +39,8 @@ public: wxMetafileRefData(void); virtual ~wxMetafileRefData(void); + virtual bool IsOk() const { return m_metafile != 0; } + public: WXHANDLE m_metafile; int m_windowsMappingMode; @@ -58,8 +60,6 @@ public: virtual bool SetClipboard(int width = 0, int height = 0); virtual bool Play(wxDC *dc); - inline bool Ok() const { return IsOk(); } - inline bool IsOk(void) const { return (M_METAFILEDATA && (M_METAFILEDATA->m_metafile != 0)); }; // Implementation inline WXHANDLE GetHMETAFILE(void) { return M_METAFILEDATA->m_metafile; }