X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65ec6247df6af7b6489257b1ac04ca2242dc14ec..6e2129f90f06ac57918023898392a8f3020b2a22:/wxPython/contrib/stc/stc_.i?ds=sidebyside diff --git a/wxPython/contrib/stc/stc_.i b/wxPython/contrib/stc/stc_.i index 74a4694c58..32f05e9e72 100644 --- a/wxPython/contrib/stc/stc_.i +++ b/wxPython/contrib/stc/stc_.i @@ -14,7 +14,7 @@ %{ -#include "export.h" +#include "wxPython.h" #include "wx/stc/stc.h" %} @@ -30,6 +30,12 @@ %extern controls.i +//---------------------------------------------------------------------- + +%{ + // Put some wx default wxChar* values into wxStrings. + DECLARE_DEF_STRING(STCNameStr); +%} //---------------------------------------------------------------------- // Get all our defs from the REAL header file. @@ -96,6 +102,14 @@ def EVT_STC_DWELLSTART(win, id, func): def EVT_STC_DWELLEND(win, id, func): win.Connect(id, -1, wxEVT_STC_DWELLEND, func) +def EVT_STC_START_DRAG(win, id, func): + win.Connect(id, -1, wxEVT_STC_START_DRAG, func) + +def EVT_STC_DRAG_OVER(win, id, func): + win.Connect(id, -1, wxEVT_STC_DRAG_OVER, func) + +def EVT_STC_DO_DROP(win, id, func): + win.Connect(id, -1, wxEVT_STC_DO_DROP, func) "