#include "wx/wxPython/wxPython.h"
#include "wx/wxPython/pyclasses.h"
#include <wx/stc/stc.h>
-
%}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// 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
%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`");