]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/fontpickerg.cpp
new file added
[wxWidgets.git] / src / generic / fontpickerg.cpp
index 7d1cfb908a1dd08058f8f97c97b9c677dcf8d1f8..ffcbb91de357d3af9422660e6e6ea17395528686 100644 (file)
@@ -97,7 +97,7 @@ void wxGenericFontButton::OnButtonClick(wxCommandEvent& WXUNUSED(ev))
 
 void wxGenericFontButton::UpdateFont()
 {
 
 void wxGenericFontButton::UpdateFont()
 {
-    if ( !m_selectedFont.Ok() )
+    if ( !m_selectedFont.IsOk() )
         return;
 
     SetForegroundColour(m_data.GetColour());
         return;
 
     SetForegroundColour(m_data.GetColour());