]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/stc/stc.i
add wxUSE_DRAGIMAGE wrapper
[wxWidgets.git] / wxPython / contrib / stc / stc.i
index ab1e072404223798eb2d01aa79863c71675bac0d..8f83295479483988986e02168a6c6daf75602bdb 100644 (file)
@@ -23,7 +23,6 @@ languages are built-in."
 #include "wx/wxPython/wxPython.h"
 #include "wx/wxPython/pyclasses.h"
 #include <wx/stc/stc.h>
-
 %}
 
 //---------------------------------------------------------------------------
@@ -47,8 +46,12 @@ MustHaveApp(wxStyledTextCtrl);
 //---------------------------------------------------------------------------
 // Get all our defs from the REAL header file.
 
+#define wxUSE_STC 1
+#define WXDLLIMPEXP_STC
+#define WXDLLIMPEXP_CORE
 %include stc.h
 
+
 %extend wxStyledTextCtrl {
     %pythoncode {
         GetCaretLineBack = GetCaretLineBackground
@@ -111,7 +114,10 @@ MustHaveApp(wxStyledTextCtrl);
     %property(SelectedText, GetSelectedText, doc="See `GetSelectedText`");
     %property(SelectedTextRaw, GetSelectedTextRaw, doc="See `GetSelectedTextRaw`");
     %property(SelectedTextUTF8, GetSelectedTextUTF8, doc="See `GetSelectedTextUTF8`");
-    %property(Selection, GetSelection, SetSelection, doc="See `GetSelection` and `SetSelection`");
+
+    //%property(Selection, GetSelection, SetSelection, doc="See `GetSelection` and `SetSelection`");
+    %property(Selection, GetSelection, doc="See `GetSelection`");
+    
     %property(SelectionEnd, GetSelectionEnd, SetSelectionEnd, doc="See `GetSelectionEnd` and `SetSelectionEnd`");
     %property(SelectionMode, GetSelectionMode, SetSelectionMode, doc="See `GetSelectionMode` and `SetSelectionMode`");
     %property(SelectionStart, GetSelectionStart, SetSelectionStart, doc="See `GetSelectionStart` and `SetSelectionStart`");