Show PlatformInfo in the About box too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
07aff078f8
commit
af9dbe709d
@ -15,6 +15,7 @@ cellpadding="0" border="1">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<h1>wxPython %s</h1>
|
||||
(%s)<br>
|
||||
Running on Python %s<br>
|
||||
</td>
|
||||
</tr>
|
||||
@ -29,7 +30,7 @@ sit back and enjoy. Be sure to take a peek at the source code for each
|
||||
demo item so you can learn how to use the classes yourself.</p>
|
||||
|
||||
<p><b>wxPython</b> is brought to you by <b>Robin Dunn</b> and<br>
|
||||
<b>Total Control Software,</b> Copyright (c) 1997-2003.</p>
|
||||
<b>Total Control Software,</b> Copyright (c) 1997-2004.</p>
|
||||
|
||||
<p>
|
||||
<font size="-1">Please see <i>license.txt</i> for licensing information.</font>
|
||||
@ -49,7 +50,10 @@ demo item so you can learn how to use the classes yourself.</p>
|
||||
if "gtk2" in wx.PlatformInfo:
|
||||
html.SetStandardFonts()
|
||||
py_version = sys.version.split()[0]
|
||||
html.SetPage(self.text % (wx.VERSION_STRING, py_version))
|
||||
html.SetPage(self.text % (wx.VERSION_STRING,
|
||||
", ".join(wx.PlatformInfo[1:]),
|
||||
py_version
|
||||
))
|
||||
btn = html.FindWindowById(wx.ID_OK)
|
||||
ir = html.GetInternalRepresentation()
|
||||
html.SetSize( (ir.GetWidth()+25, ir.GetHeight()+25) )
|
||||
|
Loading…
Reference in New Issue
Block a user