diff --git a/wxPython/contrib/stc/stc.i b/wxPython/contrib/stc/stc.i index d1f4c65fce..f32dc4e142 100644 --- a/wxPython/contrib/stc/stc.i +++ b/wxPython/contrib/stc/stc.i @@ -49,6 +49,13 @@ MustHaveApp(wxStyledTextCtrl); %include stc.h +%extend wxStyleTextCtrl { + %pythoncode { + GetCaretLineBack = GetCaretLineBackground + SetCaretLineBack = SetCaretLineBackground + } +} + //--------------------------------------------------------------------------- // Python functions to act like the event macros