X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d7e482e06d6179b827a955587bec1b694823b37..eac789ff9ce99e51d40a71eb989350cbfa8b1eef:/wxPython/contrib/stc/stc.i diff --git a/wxPython/contrib/stc/stc.i b/wxPython/contrib/stc/stc.i index d1f4c65fce..1487f75512 100644 --- a/wxPython/contrib/stc/stc.i +++ b/wxPython/contrib/stc/stc.i @@ -49,6 +49,13 @@ MustHaveApp(wxStyledTextCtrl); %include stc.h +%extend wxStyledTextCtrl { + %pythoncode { + GetCaretLineBack = GetCaretLineBackground + SetCaretLineBack = SetCaretLineBackground + } +} + //--------------------------------------------------------------------------- // Python functions to act like the event macros