Several methods dropped the const from their signature

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-21 16:59:50 +00:00
parent 6a45150b9c
commit 74c8720e3b

View File

@@ -606,7 +606,7 @@ text control.", "");
"Set the style for the text in ``range`` to ``style``", ""); "Set the style for the text in ``range`` to ``style``", "");
DocDeclStr( DocDeclStr(
virtual bool , GetStyle(long position, wxRichTextAttr& style) const, virtual bool , GetStyle(long position, wxRichTextAttr& style),
"Retrieve the style used at the given position. Copies the style "Retrieve the style used at the given position. Copies the style
values at ``position`` into the ``style`` parameter returns ``True`` values at ``position`` into the ``style`` parameter returns ``True``
if successful. Returns ``False`` otherwise.", ""); if successful. Returns ``False`` otherwise.", "");
@@ -1054,13 +1054,25 @@ flag.", "");
/// Get/set the selection range in character positions. -1, -1 means no selection. /// Get/set the selection range in character positions. -1, -1 means no selection.
DocDeclStr( DocDeclStr(
const wxRichTextRange& , GetSelectionRange() const, wxRichTextRange , GetSelectionRange() const,
"", ""); "", "");
DocDeclStr( DocDeclStr(
void , SetSelectionRange(const wxRichTextRange& range), void , SetSelectionRange(const wxRichTextRange& range),
"", ""); "", "");
/// Get/set the selection range in character positions. -1, -1 means no selection.
/// The range is in internal format, i.e. a single character selection is denoted
/// by (n, n)
DocDeclStr(
const wxRichTextRange& , GetInternalSelectionRange() const,
"", "");
DocDeclStr(
void , SetInternalSelectionRange(const wxRichTextRange& range),
"", "");
/// Add a new paragraph of text to the end of the buffer /// Add a new paragraph of text to the end of the buffer
DocDeclStr( DocDeclStr(
@@ -1252,25 +1264,25 @@ flag.", "");
/// Is all of the selection bold? /// Is all of the selection bold?
DocDeclStr( DocDeclStr(
virtual bool , IsSelectionBold() const, virtual bool , IsSelectionBold(),
"", ""); "", "");
/// Is all of the selection italics? /// Is all of the selection italics?
DocDeclStr( DocDeclStr(
virtual bool , IsSelectionItalics() const, virtual bool , IsSelectionItalics(),
"", ""); "", "");
/// Is all of the selection underlined? /// Is all of the selection underlined?
DocDeclStr( DocDeclStr(
virtual bool , IsSelectionUnderlined() const, virtual bool , IsSelectionUnderlined(),
"", ""); "", "");
/// Is all of the selection aligned according to the specified flag? /// Is all of the selection aligned according to the specified flag?
DocDeclStr( DocDeclStr(
virtual bool , IsSelectionAligned(wxTextAttrAlignment alignment) const, virtual bool , IsSelectionAligned(wxTextAttrAlignment alignment),
"", ""); "", "");