Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Moved frmAbout to source/forms/about
[xestiacalendar/.git] / source / forms / about / frmAbout.cpp
1 #include "frmAbout.h"
3 frmAbout::frmAbout( wxWindow* parent )
4 :
5 frmAboutADT( parent )
6 {
8 }
10 void frmAbout::CloseAboutWindow( wxCommandEvent& event )
11 {
13         Close(this);
14         
15 }
17 void frmAbout::SetupAboutWindow()
18 {
20         // Setup the about window to display information about
21         // Xestia Address Book.
22         
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);
28     
29         VersionLabel.Append(wxT("Version "));
30         VersionLabel.Append(wxT(XSDCAL_VERSION));
31     
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("."));
37     
38         CopyrightLabel.Append(XSDCAL_COPYRIGHT);
39     
40         lblVersion->SetLabel(VersionLabel);
41         lblCompileTime->SetLabel(BuildLabel);
42         lblCopyright->SetLabel(CopyrightLabel);
43     
44 }
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy