Show sample License text on the AboutBox

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-10-25 20:24:17 +00:00
parent b4b5a92e0b
commit 58cb01d1eb

View File

@ -34,6 +34,8 @@ class TestPanel(wx.Panel):
"Jane Coder",
"Vippy the Mascot" ]
info.License = wordwrap(licenseText, 500, wx.ClientDC(self))
# Then we call wx.AboutBox giving it that info object
wx.AboutBox(info)
@ -61,6 +63,8 @@ generic wxWidgets version of the dialog.
"""
licenseText = "blah " * 250 + "\n\n" +"yadda " * 100
if __name__ == '__main__':
import sys,os