X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b796ba39311830b11e375de10ca2378f501c5b8c..bcf324bebe65cd7ee49c139533ceea52dceb4b91:/src/stc/gen_iface.py diff --git a/src/stc/gen_iface.py b/src/stc/gen_iface.py index 8dda03017d..ed71e5df98 100755 --- a/src/stc/gen_iface.py +++ b/src/stc/gen_iface.py @@ -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; @@ -663,6 +663,7 @@ constNonGetterMethods = set(( 'LineFromPosition', 'PositionFromLine', 'LineLength', + 'CanPaste', 'CanRedo', 'CanUndo', ))