PyCrust tweak to allow it to work with older Scintilla's

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-09-11 01:00:43 +00:00
parent f114b8580b
commit e7163afc45

View File

@@ -233,7 +233,10 @@ class Shell(wxStyledTextCtrl):
self.autoCallTip = 1 self.autoCallTip = 1
self.CallTipSetBackground(wxColour(255, 255, 232)) self.CallTipSetBackground(wxColour(255, 255, 232))
self.wrap() self.wrap()
self.SetEndAtLastLine(false) try:
self.SetEndAtLastLine(false)
except AttributeError:
pass
def showIntro(self, text=''): def showIntro(self, text=''):
"""Display introductory text in the shell.""" """Display introductory text in the shell."""