3 frmAbout::frmAbout( wxWindow* parent )
10 void frmAbout::CloseAboutWindow( wxCommandEvent& event )
17 void frmAbout::SetupAboutWindow()
20 // Setup the about window to display information about
21 // Xestia Address Book.
23 wxString VersionLabel, BuildLabel, CopyrightLabel;
24 wxMemoryInputStream istream(bigimgs_aboutimage_png, sizeof(bigimgs_aboutimage_png));
25 wxImage bigimgs_aboutimage_png(istream, wxBITMAP_TYPE_PNG);
26 wxBitmap AboutScreen(bigimgs_aboutimage_png, -1);
27 bmpLogo->SetBitmap(AboutScreen);
29 VersionLabel.Append(wxT("Version "));
30 VersionLabel.Append(wxT(XSDCAL_VERSION));
32 BuildLabel.Append(wxT("Built on "));
33 BuildLabel.Append(wxT(__DATE__));
34 BuildLabel.Append(wxT(" at "));
35 BuildLabel.Append(wxT(__TIME__));
36 BuildLabel.Append(wxT("."));
38 CopyrightLabel.Append(XSDCAL_COPYRIGHT);
40 lblVersion->SetLabel(VersionLabel);
41 lblCompileTime->SetLabel(BuildLabel);
42 lblCopyright->SetLabel(CopyrightLabel);