wxPython changes for new and improved wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
# Stuff these names into the wx namespace so wxPyConstructObject can find them
|
# Stuff these names into the wx namespace so wxPyConstructObject can find them
|
||||||
|
|
||||||
wx.wxStyledTextEventPtr = wxStyledTextEventPtr
|
wx.wxStyledTextEventPtr = wxStyledTextEventPtr
|
||||||
|
wx.wxStyledTextCtrlPtr = wxStyledTextCtrlPtr
|
||||||
|
@@ -27,6 +27,7 @@ SOURCES = SOURCES + [
|
|||||||
'$(STCLOC)/contrib/src/stc/scintilla/src/ViewStyle.cxx',
|
'$(STCLOC)/contrib/src/stc/scintilla/src/ViewStyle.cxx',
|
||||||
'$(STCLOC)/contrib/src/stc/scintilla/src/LexCPP.cxx',
|
'$(STCLOC)/contrib/src/stc/scintilla/src/LexCPP.cxx',
|
||||||
'$(STCLOC)/contrib/src/stc/scintilla/src/LexHTML.cxx',
|
'$(STCLOC)/contrib/src/stc/scintilla/src/LexHTML.cxx',
|
||||||
|
'$(STCLOC)/contrib/src/stc/scintilla/src/LexLua.cxx',
|
||||||
'$(STCLOC)/contrib/src/stc/scintilla/src/LexOthers.cxx',
|
'$(STCLOC)/contrib/src/stc/scintilla/src/LexOthers.cxx',
|
||||||
'$(STCLOC)/contrib/src/stc/scintilla/src/LexPerl.cxx',
|
'$(STCLOC)/contrib/src/stc/scintilla/src/LexPerl.cxx',
|
||||||
'$(STCLOC)/contrib/src/stc/scintilla/src/LexPython.cxx',
|
'$(STCLOC)/contrib/src/stc/scintilla/src/LexPython.cxx',
|
||||||
@@ -35,6 +36,7 @@ SOURCES = SOURCES + [
|
|||||||
'$(STCLOC)/contrib/src/stc/scintilla/src/DocumentAccessor.cxx',
|
'$(STCLOC)/contrib/src/stc/scintilla/src/DocumentAccessor.cxx',
|
||||||
'$(STCLOC)/contrib/src/stc/scintilla/src/UniConversion.cxx',
|
'$(STCLOC)/contrib/src/stc/scintilla/src/UniConversion.cxx',
|
||||||
'$(STCLOC)/contrib/src/stc/scintilla/src/WindowAccessor.cxx',
|
'$(STCLOC)/contrib/src/stc/scintilla/src/WindowAccessor.cxx',
|
||||||
|
'$(STCLOC)/contrib/src/stc/scintilla/src/PosRegExp.cxx',
|
||||||
|
|
||||||
'$(STCLOC)/contrib/src/stc/PlatWX.cpp',
|
'$(STCLOC)/contrib/src/stc/PlatWX.cpp',
|
||||||
'$(STCLOC)/contrib/src/stc/ScintillaWX.cpp',
|
'$(STCLOC)/contrib/src/stc/ScintillaWX.cpp',
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -34,7 +34,7 @@
|
|||||||
// Get all our defs from the REAL header file.
|
// Get all our defs from the REAL header file.
|
||||||
|
|
||||||
%include stc.h
|
%include stc.h
|
||||||
%include SciLexer.h
|
//%include SciLexer.h
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
// Python functions to act like the event macros
|
// Python functions to act like the event macros
|
||||||
@@ -79,6 +79,9 @@ def EVT_STC_MARGINCLICK(win, id, fn):
|
|||||||
def EVT_STC_NEEDSHOWN(win, id, fn):
|
def EVT_STC_NEEDSHOWN(win, id, fn):
|
||||||
win.Connect(id, -1, wxEVT_STC_NEEDSHOWN, fn)
|
win.Connect(id, -1, wxEVT_STC_NEEDSHOWN, fn)
|
||||||
|
|
||||||
|
def EVT_STC_POSCHANGED(win, id, fn):
|
||||||
|
win.Connect(id, -1, wxEVT_STC_POSCHANGED, fn)
|
||||||
|
|
||||||
|
|
||||||
"
|
"
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user