From b5d3d5167a6502efd001596420327e13a43507d4 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 10 Jan 2016 18:01:53 +0000 Subject: [PATCH] Copyright string is now used from version.h in frmAbout --- source/frmAbout.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/frmAbout.cpp b/source/frmAbout.cpp index 254e3a4..9b549a4 100644 --- a/source/frmAbout.cpp +++ b/source/frmAbout.cpp @@ -1,6 +1,6 @@ // frmAbout.cpp - About form. // -// (c) 2012-2015 Xestia Software Development. +// (c) 2012-2016 Xestia Software Development. // // This file is part of Xestia Address Book. // @@ -40,7 +40,7 @@ void frmAbout::CloseAboutWindow( wxCommandEvent& event ) void frmAbout::SetupAboutWindow() { - wxString versionlabel, buildlabel; + wxString versionlabel, buildlabel, copyrightlabel; wxMemoryInputStream istream(bigimgs_aboutimage_png, sizeof(bigimgs_aboutimage_png)); wxImage bigimgs_aboutimage_png(istream, wxBITMAP_TYPE_PNG); wxBitmap aboutscreen(bigimgs_aboutimage_png, -1); @@ -53,11 +53,14 @@ void frmAbout::SetupAboutWindow() buildlabel.Append(wxT(__DATE__)); buildlabel.Append(wxT(" at ")); buildlabel.Append(wxT(__TIME__)); - buildlabel.Append(wxT(".")); + buildlabel.Append(wxT(".")); + + copyrightlabel.Append(XSDAB_COPYRIGHT); //wxJoin(arrayversionlabel, " ", '\0'); lblVersion->SetLabel(versionlabel); lblCompileTime->SetLabel(buildlabel); + lblCopyright->SetLabel(copyrightlabel); } \ No newline at end of file -- 2.39.5