X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65d005e44d357b99f9e3a2c6c4a971110dfad7ee..d0ee33f5c6908b4ac5e1364381f0ef00942e3936:/wxPython/wx/py/crust.py diff --git a/wxPython/wx/py/crust.py b/wxPython/wx/py/crust.py index e42d90206f..2a26da1c5c 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): @@ -212,9 +208,10 @@ class CrustFrame(frame.Frame): 'the other half is still in the oven.\n\n' + \ 'Shell Revision: %s\n' % self.shell.revision + \ 'Interpreter Revision: %s\n\n' % self.shell.interp.revision + \ + 'Platform: %s\n' % sys.platform + \ 'Python Version: %s\n' % sys.version.split()[0] + \ 'wxPython Version: %s\n' % wx.VERSION_STRING + \ - 'Platform: %s\n' % sys.platform + ('\t(%s)\n' % ", ".join(wx.PlatformInfo[1:])) dialog = wx.MessageDialog(self, text, title, wx.OK | wx.ICON_INFORMATION) dialog.ShowModal()