X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85ab460e7d62b52b105b3dc0bbdd36cebc14fb4b..6df6e35a3eae74404f15f8f7c09ce19c29f47b4a:/include/wx/font.h 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__)