X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c861501a451503b31c075ccb59d16b0ae01e99..b5f842a9021390843aa4f261f028c62c1e3b517b:/include/wx/font.h?ds=sidebyside diff --git a/include/wx/font.h b/include/wx/font.h index 8cb6a7e421..5d890e6176 100644 --- a/include/wx/font.h +++ b/include/wx/font.h @@ -157,7 +157,8 @@ public: static wxFont *New(const wxString& strNativeFontDesc); // was the font successfully created? - bool Ok() const { return m_refData != NULL; } + bool Ok() const { return IsOk(); } + bool IsOk() const { return m_refData != NULL; } // comparison bool operator == (const wxFont& font) const;