diff --git a/interface/wx/aboutdlg.h b/interface/wx/aboutdlg.h index 6db5903b8a..0a3a8badb1 100644 --- a/interface/wx/aboutdlg.h +++ b/interface/wx/aboutdlg.h @@ -29,6 +29,22 @@ don't support URLs, licence text nor custom icons in the about dialog and if either of those is used, wxAboutBox() will automatically use the generic version so you should avoid specifying these fields to achieve more native look and feel. + + Example of usage: + @code + void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) + { + wxAboutDialogInfo aboutInfo; + aboutInfo.SetName("MyApp"); + aboutInfo.SetVersion(MY_APP_VERSION_STRING); + aboutInfo.SetDescription(_("My wxWidgets-based application!")); + aboutInfo.SetCopyright("(C) 1992-2010"); + aboutInfo.SetWebSite("http://myapp.org"); + aboutInfo.AddDeveloper("My Self"); + + wxAboutBox(aboutInfo); + } + @endcode @library{wxadv} @category{cmndlg,data}