]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/richtext/richtextformatdlg.h
few other fixes for wxChar => wxString
[wxWidgets.git] / interface / wx / richtext / richtextformatdlg.h
index fb430cc3ecc3f56ec67c2d2571e09f65b9364027..3eb9bc722eb3958d2f85a1d3a8cf1440a33151d1 100644 (file)
@@ -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);
 
     //@{
     /**