projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f114b85
)
PyCrust tweak to allow it to work with older Scintilla's
author
Robin Dunn
<robin@alldunn.com>
Wed, 11 Sep 2002 01:00:43 +0000
(
01:00
+0000)
committer
Robin Dunn
<robin@alldunn.com>
Wed, 11 Sep 2002 01:00:43 +0000
(
01:00
+0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17125
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
wxPython/wxPython/lib/PyCrust/shell.py
patch
|
blob
|
blame
|
history
diff --git
a/wxPython/wxPython/lib/PyCrust/shell.py
b/wxPython/wxPython/lib/PyCrust/shell.py
index 32b1b5ffecb31c087eaeb9f8b5ee0b0cdb9f2e10..e72edd69281ad6b65adb8b3cedec735fb1eee0c1 100644
(file)
--- a/
wxPython/wxPython/lib/PyCrust/shell.py
+++ b/
wxPython/wxPython/lib/PyCrust/shell.py
@@
-233,7
+233,10
@@
class Shell(wxStyledTextCtrl):
self.autoCallTip = 1
self.CallTipSetBackground(wxColour(255, 255, 232))
self.wrap()
- self.SetEndAtLastLine(false)
+ try:
+ self.SetEndAtLastLine(false)
+ except AttributeError:
+ pass
def showIntro(self, text=''):
"""Display introductory text in the shell."""