X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4de4adcedcb683a82efaa2db7253dd799167144d..302129f8967bd8589649a181160202783193890b:/wxPython/src/richtext.i

diff --git a/wxPython/src/richtext.i b/wxPython/src/richtext.i
index 5387979d3d..87a22da1bd 100644
--- a/wxPython/src/richtext.i
+++ b/wxPython/src/richtext.i
@@ -1417,7 +1417,7 @@ flag.", "");
     %property(InternalSelectionRange, GetInternalSelectionRange, SetInternalSelectionRange, doc="See `GetInternalSelectionRange` and `SetInternalSelectionRange`");
     %property(LastPosition, GetLastPosition, doc="See `GetLastPosition`");
     %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(StringSelection, GetStringSelection, doc="See `GetStringSelection`");
     %property(StyleSheet, GetStyleSheet, SetStyleSheet, doc="See `GetStyleSheet` and `SetStyleSheet`");