X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65d005e44d357b99f9e3a2c6c4a971110dfad7ee..fdde476d53dcdb03bebd8ead8cea2c377fc3567d:/wxPython/wx/py/crust.py diff --git a/wxPython/wx/py/crust.py b/wxPython/wx/py/crust.py index e42d90206f..21a71cc680 100644 --- a/wxPython/wx/py/crust.py +++ b/wxPython/wx/py/crust.py @@ -17,12 +17,6 @@ import frame from shell import Shell from version import VERSION -try: - True -except NameError: - True = 1==1 - False = 1==0 - class Crust(wx.SplitterWindow): """Crust based on SplitterWindow.""" @@ -124,7 +118,9 @@ class Calltip(wx.TextCtrl): def display(self, calltip): """Receiver for Shell.calltip signal.""" - self.SetValue(calltip) + ## self.SetValue(calltip) # Caused refresh problem on Windows. + self.Clear() + self.AppendText(calltip) class SessionListing(wx.TextCtrl):