X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c861501a451503b31c075ccb59d16b0ae01e99..f068697b463e8ee2787e867597ab74c68e94aba6:/include/wx/font.h 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;