X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65d005e44d357b99f9e3a2c6c4a971110dfad7ee..2abd8d78a69cbe726f957de91929feeeac21cfb0:/wxPython/wx/py/crust.py?ds=sidebyside 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):