X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c51a665c649f7579fb39e62070cef4f66b3210d..a39815bd30c62e13089f318028c9ee547940c4ad:/src/generic/fontpickerg.cpp?ds=inline diff --git a/src/generic/fontpickerg.cpp b/src/generic/fontpickerg.cpp index 7d1cfb908a..ffcbb91de3 100644 --- a/src/generic/fontpickerg.cpp +++ b/src/generic/fontpickerg.cpp @@ -97,7 +97,7 @@ void wxGenericFontButton::OnButtonClick(wxCommandEvent& WXUNUSED(ev)) void wxGenericFontButton::UpdateFont() { - if ( !m_selectedFont.Ok() ) + if ( !m_selectedFont.IsOk() ) return; SetForegroundColour(m_data.GetColour());