X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5267aefd85739afd26bd19bfba998005119db446..b19b28c8fca9815949753ed0c68097efe8943b18:/interface/wx/richtext/richtextsymboldlg.h diff --git a/interface/wx/richtext/richtextsymboldlg.h b/interface/wx/richtext/richtextsymboldlg.h index c3e5740751..3e1778910c 100644 --- a/interface/wx/richtext/richtextsymboldlg.h +++ b/interface/wx/richtext/richtextsymboldlg.h @@ -42,14 +42,14 @@ ctrl-GetStyle(ctrl->GetInsertionPoint(), attr); wxString currentFontName; - if (attr.HasFont() && attr.GetFont().Ok()) + if (attr.HasFont() && attr.GetFont().IsOk()) currentFontName = attr.GetFont().GetFaceName(); // Don't set the initial font in the dialog (so the user is choosing // 'normal text', i.e. the current font) but do tell the dialog // what 'normal text' is. - wxSymbolPickerDialog dlg(wxT("*"), wxEmptyString, currentFontName, this); + wxSymbolPickerDialog dlg("*", wxEmptyString, currentFontName, this); if (dlg.ShowModal() == wxID_OK) {