X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46b03af7ae3afe6ab7d4be71fcd1625a006af6ff..062dfc9a96dc9e796c53544f41ff92dc47f26e82:/src/palmos/font.cpp

diff --git a/src/palmos/font.cpp b/src/palmos/font.cpp
index 3a0cd03728..4329848379 100644
--- a/src/palmos/font.cpp
+++ b/src/palmos/font.cpp
@@ -479,7 +479,7 @@ const wxNativeFontInfo *wxFont::GetNativeFontInfo() const
 
 wxString wxFont::GetNativeFontInfoDesc() const
 {
-    wxCHECK_MSG( Ok(), wxEmptyString, wxT("invalid font") );
+    wxCHECK_MSG( IsOk(), wxEmptyString, wxT("invalid font") );
 
     // be sure we have an HFONT associated...
     wxConstCast(this, wxFont)->RealizeResource();
@@ -488,7 +488,7 @@ wxString wxFont::GetNativeFontInfoDesc() const
 
 wxString wxFont::GetNativeFontInfoUserDesc() const
 {
-    wxCHECK_MSG( Ok(), wxEmptyString, wxT("invalid font") );
+    wxCHECK_MSG( IsOk(), wxEmptyString, wxT("invalid font") );
 
     // be sure we have an HFONT associated...
     wxConstCast(this, wxFont)->RealizeResource();