From: <hug...@li...> - 2011-07-27 14:46:08
|
branch: details: http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/hgrepo/h/hu/hugin/hugin/rev/8501dca68dd2 changeset: 5437:8501dca68dd2 user: Yuval Levy <yu...@us...> date: Wed Jul 27 10:28:48 2011 -0400 description: report wxWidgets version in about dialog diffstat: src/hugin1/hugin/AboutDialog.cpp | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diffs (25 lines): diff -r 076c3e64f1dc -r 8501dca68dd2 src/hugin1/hugin/AboutDialog.cpp --- a/src/hugin1/hugin/AboutDialog.cpp Mon Jul 25 09:33:33 2011 -0400 +++ b/src/hugin1/hugin/AboutDialog.cpp Wed Jul 27 10:28:48 2011 -0400 @@ -31,6 +31,7 @@ #include "panoinc.h" #include "hugin/huginApp.h" #include <hugin_version.h> +#include <wx/version.h> BEGIN_EVENT_TABLE(AboutDialog, wxDialog) @@ -170,6 +171,13 @@ text=text+wxT("\n\nHugin\n")+wxString::Format(_("Version: %s"),wxString(DISPLAY_VERSION,wxConvLocal).c_str()); text=text+wxT("\n")+wxString::Format(_("Path to resources: %s"),huginApp::Get()->GetXRCPath().c_str()); text=text+wxT("\n")+wxString::Format(_("Path to data: %s"),huginApp::Get()->GetDataPath().c_str()); + text=text+wxT("\n\nLibraries"); + text=text+wxT("\n")+wxString::Format(_("wxWidgets: %i.%i.%i.%i"), + wxMAJOR_VERSION, + wxMINOR_VERSION, + wxRELEASE_NUMBER, + wxSUBRELEASE_NUMBER + ); infoText->SetValue(text); } |