Show PlatformInfo in the About box too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-10-15 20:31:23 +00:00
parent af9dbe709d
commit f2f8a5fce8
2 changed files with 4 additions and 2 deletions

View File

@@ -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()