More STC fixes and tweaks.

Added another STC demo for wxPython.  This one sets up an editor with
the Python lexer and a bunch of styles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-04-21 09:14:06 +00:00
parent 156cb8c2e4
commit 017582cd23
8 changed files with 293 additions and 496 deletions

View File

@@ -34,7 +34,7 @@ capabilities, (right click to try it out.)
"""
if wxPlatform == '__WXMSW__':
face1 = 'Ariel'
face1 = 'Arial'
face2 = 'Times New Roman'
face3 = 'Courier New'
pb = 6
@@ -51,7 +51,7 @@ def runTest(frame, nb, log):
ed = wxStyledTextCtrl(nb, -1)
ed.SetText(demoText)
ed.EmptyUndoBuffer()
# make some styles
ed.StyleSetSpec(wxSTC_STYLE_DEFAULT, "size:%d,face:%s" % (pb+2, face3))