diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-06 13:24:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-06 13:24:35 +0100 |
| commit | 370e815cdefee3e7b1794b28df585b2f86e8d391 (patch) | |
| tree | 22d5a2b1194beeb0d58ab0079d3fe83b07cde772 /src/tools | |
| parent | c01abd7a9ab8e31acc8a7f1c27841a128d6ae9c7 (diff) | |
Basic about dialog containing supporters.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dvdomatic.cc | 35 |
1 files changed, 5 insertions, 30 deletions
diff --git a/src/tools/dvdomatic.cc b/src/tools/dvdomatic.cc index 4c3a5260f..71207c4ae 100644 --- a/src/tools/dvdomatic.cc +++ b/src/tools/dvdomatic.cc @@ -26,7 +26,7 @@ #ifdef __WXOSX__ #include <ApplicationServices/ApplicationServices.h> #endif -#include <wx/aboutdlg.h> +#include <wx/generic/aboutdlgg.h> #include <wx/stdpaths.h> #include <wx/cmdline.h> #include "wx/film_viewer.h" @@ -38,6 +38,7 @@ #include "wx/new_film_dialog.h" #include "wx/properties_dialog.h" #include "wx/wx_ui_signaller.h" +#include "wx/about_dialog.h" #include "lib/film.h" #include "lib/format.h" #include "lib/config.h" @@ -45,7 +46,6 @@ #include "lib/util.h" #include "lib/scaler.h" #include "lib/exceptions.h" -#include "lib/version.h" #include "lib/ui_signaller.h" #include "lib/log.h" @@ -427,34 +427,9 @@ private: void help_about (wxCommandEvent &) { - wxAboutDialogInfo info; - info.SetName (_("DVD-o-matic")); - if (strcmp (dvdomatic_git_commit, "release") == 0) { - info.SetVersion (std_to_wx (String::compose ("version %1", dvdomatic_version))); - } else { - info.SetVersion (std_to_wx (String::compose ("version %1 git %2", dvdomatic_version, dvdomatic_git_commit))); - } - info.SetDescription (_("Free, open-source DCP generation from almost anything.")); - info.SetCopyright (_("(C) 2012-2013 Carl Hetherington, Terrence Meiczinger, Paul Davis, Ole Laursen")); - - wxArrayString authors; - authors.Add (wxT ("Carl Hetherington")); - authors.Add (wxT ("Terrence Meiczinger")); - authors.Add (wxT ("Paul Davis")); - authors.Add (wxT ("Ole Laursen")); - info.SetDevelopers (authors); - - wxArrayString translators; - translators.Add (wxT ("Olivier Perriere")); - translators.Add (wxT ("Lilian Lefranc")); - translators.Add (wxT ("Thierry Journet")); - translators.Add (wxT ("Massimiliano Broggi")); - translators.Add (wxT ("Manuel AC")); - translators.Add (wxT ("Adam Klotblixt")); - info.SetTranslators (translators); - - info.SetWebSite (wxT ("http://carlh.net/software/dvdomatic")); - wxAboutBox (info); + AboutDialog* d = new AboutDialog (this); + d->ShowModal (); + d->Destroy (); } wxSizer* _top_sizer; |
