Fix for bug #1621459, Made the Selection property read-only since it

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
This commit is contained in:
Robin Dunn 2006-12-26 20:32:51 +00:00
parent e0329d2476
commit 7f3e07a83a

View 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`");