#include #include #include #include #include "frmAbout.h" #include "version.h" #include "bitmaps.h" frmAbout::frmAbout( wxWindow* parent ) : frmAboutADT( parent ) { } void frmAbout::CloseAboutWindow( wxCommandEvent& event ) { Close(this); } void frmAbout::SetupAboutWindow() { wxString versionlabel, buildlabel; wxMemoryInputStream istream(bigimgs_aboutimage_png, sizeof(bigimgs_aboutimage_png)); wxImage bigimgs_aboutimage_png(istream, wxBITMAP_TYPE_PNG); wxBitmap aboutscreen(bigimgs_aboutimage_png, -1); bmpLogo->SetBitmap(aboutscreen); versionlabel.Append(wxT("Version ")); versionlabel.Append(wxT(XSDAB_VERSION)); buildlabel.Append(wxT("Built on ")); buildlabel.Append(wxT(__DATE__)); buildlabel.Append(wxT(" at ")); buildlabel.Append(wxT(__TIME__)); buildlabel.Append(wxT(".")); //wxJoin(arrayversionlabel, " ", '\0'); lblVersion->SetLabel(versionlabel); lblCompileTime->SetLabel(buildlabel); }