From: Julian Smart Date: Thu, 16 Nov 2006 07:33:19 +0000 (+0000) Subject: Removed new function X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7d5232b81589d8a6fbf33399770221b4fa3736a6 Removed new function git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index 47f36c38d2..6df1e6efde 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -184,10 +184,11 @@ public: virtual bool GetStyle(long position, wxTextAttrEx& style); virtual bool GetStyle(long position, wxRichTextAttr& style); +/* // get the common set of styles for the range bool GetStyleForRange(const wxRichTextRange& range, wxRichTextAttr& style); bool GetStyleForRange(const wxRichTextRange& range, wxTextAttrEx& style); - +*/ // extended style setting operation with flags including: // wxRICHTEXT_SETSTYLE_WITH_UNDO, wxRICHTEXT_SETSTYLE_OPTIMIZE, wxRICHTEXT_SETSTYLE_PARAGRAPHS_ONLY, wxRICHTEXT_SETSTYLE_CHARACTERS_ONLY // see richtextbuffer.h for more details. diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index 2adf35ae03..11b54b3fda 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -2525,6 +2525,7 @@ bool wxRichTextCtrl::GetStyle(long position, wxRichTextAttr& style) return GetBuffer().GetStyle(position, style); } +/* // get the common set of styles for the range bool wxRichTextCtrl::GetStyleForRange(const wxRichTextRange& range, wxRichTextAttr& style) { @@ -2542,6 +2543,7 @@ bool wxRichTextCtrl::GetStyleForRange(const wxRichTextRange& range, wxTextAttrEx { return GetBuffer().GetStyleForRange(range.ToInternal(), style); } +*/ /// Get the content (uncombined) attributes for this position.