X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85ab460e7d62b52b105b3dc0bbdd36cebc14fb4b..9e15c94f41c8cdf42470d318269e48e90d6ba75e:/include/wx/font.h?ds=sidebyside diff --git a/include/wx/font.h b/include/wx/font.h index 9ffccef70c..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; @@ -241,6 +242,8 @@ private: #include "wx/x11/font.h" #elif defined(__WXMGL__) #include "wx/mgl/font.h" +#elif defined(__WXDFB__) + #include "wx/dfb/font.h" #elif defined(__WXMAC__) #include "wx/mac/font.h" #elif defined(__WXCOCOA__)