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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user