]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/stc/stc.i
removed tabs and trailing whitespace
[wxWidgets.git] / wxPython / contrib / stc / stc.i
index 3f11a3fc07250709501e2c3308e4390591c38b2e..1487f7551261feda8a16ac4f9583d3c62ceb56df 100644 (file)
@@ -38,7 +38,6 @@ languages are built-in."
 MAKE_CONST_WXSTRING(STCNameStr);
 
 
-%include _stc_rename.i
 %include _stc_docstrings.i
 
 enum wxFontEncoding;  // forward declare
@@ -50,6 +49,13 @@ MustHaveApp(wxStyledTextCtrl);
 
 %include stc.h
 
+%extend wxStyledTextCtrl {
+    %pythoncode {
+        GetCaretLineBack = GetCaretLineBackground
+        SetCaretLineBack = SetCaretLineBackground
+    }
+}
+
 //---------------------------------------------------------------------------
 // Python functions to act like the event macros
 
@@ -79,6 +85,7 @@ EVT_STC_ZOOM = wx.PyEventBinder( wxEVT_STC_ZOOM, 1 )
 EVT_STC_HOTSPOT_CLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_CLICK, 1 )
 EVT_STC_HOTSPOT_DCLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_DCLICK, 1 )
 EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
+EVT_STC_AUTOCOMP_SELECTION = wx.PyEventBinder( wxEVT_STC_AUTOCOMP_SELECTION, 1 )
 }
 
 //---------------------------------------------------------------------------