]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/stc/stc.i
reSWIGged
[wxWidgets.git] / wxPython / contrib / stc / stc.i
index 8e476e8394646a62faba70471b51619f94b11cf6..986065c26ac3b651e3f62d24506e3ff2945fec36 100644 (file)
@@ -15,7 +15,8 @@
 highlighting source code editor, or similar.  Lexers for several programming
 languages are built-in."
 %enddef
-%module(docstring=DOCSTRING) stc
+
+%module(package="wx", docstring=DOCSTRING) stc
 
 
 %{
@@ -29,6 +30,8 @@ languages are built-in."
 
 %import core.i
 %import misc.i  // for DnD
+//%import gdi.i   // for wxFontEncoding
+
 %pythoncode { wx = _core }
 %pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
 
@@ -36,6 +39,9 @@ MAKE_CONST_WXSTRING(STCNameStr);
 
 
 %include _stc_rename.i
+%include _stc_docstrings.i
+
+enum wxFontEncoding;  // forward declare
 
 MustHaveApp(wxStyledTextCtrl);
 
@@ -73,6 +79,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 )
 }
 
 //---------------------------------------------------------------------------