]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for bug #1621459, Made the Selection property read-only since it
authorRobin Dunn <robin@alldunn.com>
Tue, 26 Dec 2006 20:32:51 +0000 (20:32 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 26 Dec 2006 20:32:51 +0000 (20:32 +0000)
needs two parameters.  You can instead use SelectionStart and
SelectionEnd properties for setting the selection if needed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/contrib/stc/stc.i

index ab1e072404223798eb2d01aa79863c71675bac0d..192eaed72cd53686fc3f17e7f88111a58cd647b3 100644 (file)
@@ -111,7 +111,10 @@ MustHaveApp(wxStyledTextCtrl);
     %property(SelectedText, GetSelectedText, doc="See `GetSelectedText`");
     %property(SelectedTextRaw, GetSelectedTextRaw, doc="See `GetSelectedTextRaw`");
     %property(SelectedTextUTF8, GetSelectedTextUTF8, doc="See `GetSelectedTextUTF8`");
-    %property(Selection, GetSelection, SetSelection, doc="See `GetSelection` and `SetSelection`");
+
+    //%property(Selection, GetSelection, SetSelection, doc="See `GetSelection` and `SetSelection`");
+    %property(Selection, GetSelection, doc="See `GetSelection`");
+    
     %property(SelectionEnd, GetSelectionEnd, SetSelectionEnd, doc="See `GetSelectionEnd` and `SetSelectionEnd`");
     %property(SelectionMode, GetSelectionMode, SetSelectionMode, doc="See `GetSelectionMode` and `SetSelectionMode`");
     %property(SelectionStart, GetSelectionStart, SetSelectionStart, doc="See `GetSelectionStart` and `SetSelectionStart`");