More fixes for the new STC

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-10-13 03:14:35 +00:00
parent 17e5eeeea8
commit a2949715ec

View File

@@ -198,7 +198,7 @@ class PyShellWindow(wxStyledTextCtrl, InteractiveInterpreter):
# if not on the last line, duplicate the current line
if self.GetLineCount()-1 != self.GetCurrentLine():
text, col = self.GetCurrentLineText()
text, col = self.GetCurLine()
prompt = self.props['ps1']
lp = len(prompt)
if text[:lp] == prompt: