X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e7ad1cab887c2f1cd1a624ec0aec60d20b4d6e2..50d4763f1710f6e45ac6af7112d1ce9effe93bc4:/interface/wx/richtext/richtextformatdlg.h diff --git a/interface/wx/richtext/richtextformatdlg.h b/interface/wx/richtext/richtextformatdlg.h index fb430cc3ec..1dc4282236 100644 --- a/interface/wx/richtext/richtextformatdlg.h +++ b/interface/wx/richtext/richtextformatdlg.h @@ -3,7 +3,7 @@ // Purpose: interface of wxRichTextFormattingDialog* // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -135,6 +135,10 @@ public: The pages to show. @param parent The dialog's parent. + @param title + The dialog's title. + @param id + The dialog's ID. @param pos The dialog's position. @param sz @@ -142,10 +146,9 @@ public: @param style The dialog's window style. */ - wxRichTextFormattingDialog(long flags, wxWindow* parent, - const wxPoint& pos = wxDefaultPosition, - const wxSize& sz = wxDefaultSize, - long style = wxDEFAULT_DIALOG_STYLE); + wxRichTextFormattingDialog(long flags, wxWindow* parent, const wxString& title = "Formatting", + wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, + const wxSize& sz = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE); /** Destructor. @@ -156,17 +159,17 @@ 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("Formatting"), wxWindowID id = wxID_ANY, + const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, + long style = wxDEFAULT_DIALOG_STYLE); //@{ /**