X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99109c0ff1c29c7c977c073f9f8e0bf4b8e728f7..a1d2d6b1e8dcdd58f75672b8f618a60eee3d0edc:/wxPython/contrib/stc/stc.i diff --git a/wxPython/contrib/stc/stc.i b/wxPython/contrib/stc/stc.i index 51fa9b6860..d8c7bd87dd 100644 --- a/wxPython/contrib/stc/stc.i +++ b/wxPython/contrib/stc/stc.i @@ -10,7 +10,13 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -%module stc +%define DOCSTRING +"The `StyledTextCtrl` provides a text editor that can used as a syntax +highlighting source code editor, or similar. Lexers for several programming +languages are built-in." +%enddef + +%module(package="wx", docstring=DOCSTRING) stc %{ @@ -32,6 +38,7 @@ MAKE_CONST_WXSTRING(STCNameStr); %include _stc_rename.i +MustHaveApp(wxStyledTextCtrl); //--------------------------------------------------------------------------- // Get all our defs from the REAL header file. @@ -55,7 +62,6 @@ EVT_STC_MODIFIED = wx.PyEventBinder( wxEVT_STC_MODIFIED, 1 ) EVT_STC_MACRORECORD = wx.PyEventBinder( wxEVT_STC_MACRORECORD, 1 ) EVT_STC_MARGINCLICK = wx.PyEventBinder( wxEVT_STC_MARGINCLICK, 1 ) EVT_STC_NEEDSHOWN = wx.PyEventBinder( wxEVT_STC_NEEDSHOWN, 1 ) -EVT_STC_POSCHANGED = wx.PyEventBinder( wxEVT_STC_POSCHANGED, 1 ) EVT_STC_PAINTED = wx.PyEventBinder( wxEVT_STC_PAINTED, 1 ) EVT_STC_USERLISTSELECTION = wx.PyEventBinder( wxEVT_STC_USERLISTSELECTION, 1 ) EVT_STC_URIDROPPED = wx.PyEventBinder( wxEVT_STC_URIDROPPED, 1 )