use a more appropriate setter for the Selection property

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-11-29 15:57:18 +00:00
parent b4eecebd42
commit 71975d807b
4 changed files with 4 additions and 4 deletions

View File

@@ -1396,7 +1396,7 @@ class RichTextCtrl(_windows.ScrolledWindow):
InternalSelectionRange = property(GetInternalSelectionRange,SetInternalSelectionRange,doc="See `GetInternalSelectionRange` and `SetInternalSelectionRange`") InternalSelectionRange = property(GetInternalSelectionRange,SetInternalSelectionRange,doc="See `GetInternalSelectionRange` and `SetInternalSelectionRange`")
LastPosition = property(GetLastPosition,doc="See `GetLastPosition`") LastPosition = property(GetLastPosition,doc="See `GetLastPosition`")
NumberOfLines = property(GetNumberOfLines,doc="See `GetNumberOfLines`") NumberOfLines = property(GetNumberOfLines,doc="See `GetNumberOfLines`")
Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") Selection = property(GetSelection,SetSelectionRange,doc="See `GetSelection` and `SetSelection`")
SelectionRange = property(GetSelectionRange,SetSelectionRange,doc="See `GetSelectionRange` and `SetSelectionRange`") SelectionRange = property(GetSelectionRange,SetSelectionRange,doc="See `GetSelectionRange` and `SetSelectionRange`")
StringSelection = property(GetStringSelection,doc="See `GetStringSelection`") StringSelection = property(GetStringSelection,doc="See `GetStringSelection`")
StyleSheet = property(GetStyleSheet,SetStyleSheet,doc="See `GetStyleSheet` and `SetStyleSheet`") StyleSheet = property(GetStyleSheet,SetStyleSheet,doc="See `GetStyleSheet` and `SetStyleSheet`")

View File

@@ -1396,7 +1396,7 @@ class RichTextCtrl(_windows.ScrolledWindow):
InternalSelectionRange = property(GetInternalSelectionRange,SetInternalSelectionRange,doc="See `GetInternalSelectionRange` and `SetInternalSelectionRange`") InternalSelectionRange = property(GetInternalSelectionRange,SetInternalSelectionRange,doc="See `GetInternalSelectionRange` and `SetInternalSelectionRange`")
LastPosition = property(GetLastPosition,doc="See `GetLastPosition`") LastPosition = property(GetLastPosition,doc="See `GetLastPosition`")
NumberOfLines = property(GetNumberOfLines,doc="See `GetNumberOfLines`") NumberOfLines = property(GetNumberOfLines,doc="See `GetNumberOfLines`")
Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") Selection = property(GetSelection,SetSelectionRange,doc="See `GetSelection` and `SetSelection`")
SelectionRange = property(GetSelectionRange,SetSelectionRange,doc="See `GetSelectionRange` and `SetSelectionRange`") SelectionRange = property(GetSelectionRange,SetSelectionRange,doc="See `GetSelectionRange` and `SetSelectionRange`")
StringSelection = property(GetStringSelection,doc="See `GetStringSelection`") StringSelection = property(GetStringSelection,doc="See `GetStringSelection`")
StyleSheet = property(GetStyleSheet,SetStyleSheet,doc="See `GetStyleSheet` and `SetStyleSheet`") StyleSheet = property(GetStyleSheet,SetStyleSheet,doc="See `GetStyleSheet` and `SetStyleSheet`")

View File

@@ -1396,7 +1396,7 @@ class RichTextCtrl(_windows.ScrolledWindow):
InternalSelectionRange = property(GetInternalSelectionRange,SetInternalSelectionRange,doc="See `GetInternalSelectionRange` and `SetInternalSelectionRange`") InternalSelectionRange = property(GetInternalSelectionRange,SetInternalSelectionRange,doc="See `GetInternalSelectionRange` and `SetInternalSelectionRange`")
LastPosition = property(GetLastPosition,doc="See `GetLastPosition`") LastPosition = property(GetLastPosition,doc="See `GetLastPosition`")
NumberOfLines = property(GetNumberOfLines,doc="See `GetNumberOfLines`") NumberOfLines = property(GetNumberOfLines,doc="See `GetNumberOfLines`")
Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") Selection = property(GetSelection,SetSelectionRange,doc="See `GetSelection` and `SetSelection`")
SelectionRange = property(GetSelectionRange,SetSelectionRange,doc="See `GetSelectionRange` and `SetSelectionRange`") SelectionRange = property(GetSelectionRange,SetSelectionRange,doc="See `GetSelectionRange` and `SetSelectionRange`")
StringSelection = property(GetStringSelection,doc="See `GetStringSelection`") StringSelection = property(GetStringSelection,doc="See `GetStringSelection`")
StyleSheet = property(GetStyleSheet,SetStyleSheet,doc="See `GetStyleSheet` and `SetStyleSheet`") StyleSheet = property(GetStyleSheet,SetStyleSheet,doc="See `GetStyleSheet` and `SetStyleSheet`")

View File

@@ -1417,7 +1417,7 @@ flag.", "");
%property(InternalSelectionRange, GetInternalSelectionRange, SetInternalSelectionRange, doc="See `GetInternalSelectionRange` and `SetInternalSelectionRange`"); %property(InternalSelectionRange, GetInternalSelectionRange, SetInternalSelectionRange, doc="See `GetInternalSelectionRange` and `SetInternalSelectionRange`");
%property(LastPosition, GetLastPosition, doc="See `GetLastPosition`"); %property(LastPosition, GetLastPosition, doc="See `GetLastPosition`");
%property(NumberOfLines, GetNumberOfLines, doc="See `GetNumberOfLines`"); %property(NumberOfLines, GetNumberOfLines, doc="See `GetNumberOfLines`");
%property(Selection, GetSelection, SetSelection, doc="See `GetSelection` and `SetSelection`"); %property(Selection, GetSelection, SetSelectionRange, doc="See `GetSelection` and `SetSelection`");
%property(SelectionRange, GetSelectionRange, SetSelectionRange, doc="See `GetSelectionRange` and `SetSelectionRange`"); %property(SelectionRange, GetSelectionRange, SetSelectionRange, doc="See `GetSelectionRange` and `SetSelectionRange`");
%property(StringSelection, GetStringSelection, doc="See `GetStringSelection`"); %property(StringSelection, GetStringSelection, doc="See `GetStringSelection`");
%property(StyleSheet, GetStyleSheet, SetStyleSheet, doc="See `GetStyleSheet` and `SetStyleSheet`"); %property(StyleSheet, GetStyleSheet, SetStyleSheet, doc="See `GetStyleSheet` and `SetStyleSheet`");