]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/stc/stc_.i
Remove use of deprecated KeyCode accessor.
[wxWidgets.git] / wxPython / contrib / stc / stc_.i
index 74a4694c5801a15c6386c24f135259ace6ceccfb..2f0ef5416a729f6b6f931352c8cc42d7b195ac43 100644 (file)
@@ -14,7 +14,7 @@
 
 
 %{
-#include "export.h"
+#include "wxPython.h"
 #include "wx/stc/stc.h"
 %}
 
 %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,17 @@ 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)
+
+def EVT_STC_ZOOM(win, id, func):
+    win.Connect(id, -1, wxEVT_STC_ZOOM, func)
 
 "