X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e7ad1cab887c2f1cd1a624ec0aec60d20b4d6e2..920b92a3fd568f012a8f7814d56640cb729ba993:/interface/wx/richtext/richtextformatdlg.h diff --git a/interface/wx/richtext/richtextformatdlg.h b/interface/wx/richtext/richtextformatdlg.h index fb430cc3ec..3eb9bc722e 100644 --- a/interface/wx/richtext/richtextformatdlg.h +++ b/interface/wx/richtext/richtextformatdlg.h @@ -156,17 +156,15 @@ public: Apply attributes to the given range, only changing attributes that need to be changed. */ - bool ApplyStyle(wxRichTextCtrl* ctrl, - const wxRichTextRange& range, - int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO|wxRICHTEXT_SETSTYLE_OPTIMIZE); + virtual bool ApplyStyle(wxRichTextCtrl* ctrl, const wxRichTextRange& range, + int flags = wxRICHTEXT_SETSTYLE_WITH_UNDO|wxRICHTEXT_SETSTYLE_OPTIMIZE); /** Creation: see wxRichTextFormattingDialog() "the constructor" for details about the parameters. */ - bool Create(long flags, wxWindow* parent, const wxString& title, - wxWindowID id, const wxPoint& pos = wxDefaultPosition, - const wxSize& sz = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE); + bool Create(long flags, wxWindow* parent, + const wxString& title = wxGetTranslation(wxT("Formatting")), wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE); //@{ /**