]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fontpickercmn.cpp
Use the data scheme to load resources in the WebKitGTK+ implementation, rather than...
[wxWidgets.git] / src / common / fontpickercmn.cpp
index ff1ed56aee3a12e4756329a73b97defbc4527184..6718668c0104d4edcf3e7414e3a1b0767699d1de 100644 (file)
@@ -137,7 +137,7 @@ void wxFontPickerCtrl::UpdatePickerFromTextCtrl()
     //     string returned by wxFont::GetNativeFontInfoDesc() and not
     //     the user-friendly one returned by wxFont::GetNativeFontInfoUserDesc()
     wxFont f = String2Font(m_text->GetValue());
-    if (!f.Ok())
+    if (!f.IsOk())
         return;     // invalid user input
 
     if (M_PICKER->GetSelectedFont() != f)