]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/aboutdlg.h
Document that wxRearrange* controls exist since 2.9.0.
[wxWidgets.git] / interface / wx / aboutdlg.h
index 6db5903b8a8a1bd7ecb1858778e289911bb2f9b4..0a3a8badb11e185179bf942f2e21a3ec04c1c3e4 100644 (file)
     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}