Add URL to about box.
authorCarl Hetherington <cth@carlh.net>
Thu, 13 Jun 2013 20:55:28 +0000 (21:55 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 13 Jun 2013 20:55:28 +0000 (21:55 +0100)
src/wx/about_dialog.cc

index 84cfbce08a4a03396586e6c20ca1dc97bb2ba9c8..27644a00f1e001a4a07a9290ec9961e2d1d64520 100644 (file)
@@ -18,6 +18,7 @@
 */
 
 #include <wx/notebook.h>
+#include <wx/hyperlink.h>
 #include "lib/version.h"
 #include "lib/compose.hpp"
 #include "about_dialog.h"
@@ -59,6 +60,14 @@ AboutDialog::AboutDialog (wxWindow* parent)
        
        sizer->Add (t, wxSizerFlags().Centre().Border());
 
+       wxHyperlinkCtrl* h = new wxHyperlinkCtrl (
+               this, wxID_ANY,
+               wxT ("www.carlh.net/software/dvdomatic"),
+               wxT ("http://www.carlh.net/software/dvdomatic")
+               );
+
+       sizer->Add (h, wxSizerFlags().Centre().Border());
+
        t = new wxStaticText (
                this, wxID_ANY,
                _("(C) 2012-2013 Carl Hetherington, Terrence Meiczinger, Paul Davis, Ole Laursen"),