]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/stc/stc_.i
Changed the name of export.h to wxPython.h so it wouldn't be so
[wxWidgets.git] / wxPython / contrib / stc / stc_.i
index 74a4694c5801a15c6386c24f135259ace6ceccfb..32f05e9e72fbd0284de6c77845ca32feebcb1326 100644 (file)
@@ -14,7 +14,7 @@
 
 
 %{
 
 
 %{
-#include "export.h"
+#include "wxPython.h"
 #include "wx/stc/stc.h"
 %}
 
 #include "wx/stc/stc.h"
 %}
 
 %extern controls.i
 
 
 %extern controls.i
 
 
+//----------------------------------------------------------------------
+
+%{
+    // Put some wx default wxChar* values into wxStrings.
+    DECLARE_DEF_STRING(STCNameStr);
+%}
 //----------------------------------------------------------------------
 // Get all our defs from the REAL header file.
 
 //----------------------------------------------------------------------
 // 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_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)
 
 "
 
 
 "