Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/functions.AboutBox.1.py
Andrea Gavana 003fb0a804 Phoenix:
1) Update documentation generator for `InfoBar`, `ListCtrl` and new additions;
2) Correct the `writeIfChanged` method, we can't use `str(text)` if the wxWidgets docs contain non-ascii compliant docstrings. Just treat them as unicode objects and use `codecs.open` to compare existing files with new docstrings;
3) Add empty stubs for the `ListCtrl Overview` and `Internationalization`, hopefully someone will populate them...
4) Small fix to the `MigrationGuide.txt`.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-27 20:54:15 +00:00

12 lines
388 B
Python

def ShowSimpleAboutDialog(self, event):
info = wx.AboutDialogInfo()
info.SetName(_("My Program"))
info.SetVersion(_("1.2.3 Beta"))
info.SetDescription(_("This program does something great."))
info.SetCopyright(wx.T("(C) 2007 Me <my@email.addre.ss>"))
wx.AboutBox(info)