Consolidate old and new implementations of Get/SetSelection

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2008-09-25 16:10:27 +00:00
parent e4a0fe083d
commit fa70ec2b51
5 changed files with 41 additions and 52 deletions

View File

@@ -425,15 +425,15 @@ methodOverrideMap = {
('Retrieve the contents of a line.',)),
'SetSel' : ('SetSelection', 0, 0, 0),
'SetSel' : (None, 0,0,0), #'SetSelection', 0, 0, 0),
'GetSelText' :
('GetSelectedText',
'wxString %s();',
'''wxString %s() {
int start;
int end;
long start;
long end;
GetSelection(&start, &end);
int len = end - start;