From: Robin Dunn Date: Fri, 15 Oct 2004 20:31:23 +0000 (+0000) Subject: Show PlatformInfo in the About box too. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f2f8a5fce8bfad1b91ea94c3cf23310a9095c178 Show PlatformInfo in the About box too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/py/crust.py b/wxPython/wx/py/crust.py index 21a71cc680..2a26da1c5c 100644 --- a/wxPython/wx/py/crust.py +++ b/wxPython/wx/py/crust.py @@ -208,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() diff --git a/wxPython/wx/py/shell.py b/wxPython/wx/py/shell.py index 2232fd59b0..8e1b0474f3 100644 --- a/wxPython/wx/py/shell.py +++ b/wxPython/wx/py/shell.py @@ -72,9 +72,10 @@ class ShellFrame(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()