Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Updated TODO list
[xestiaab/.git] / source / frmAbout.cpp
1 #include <wx/wx.h>
2 #include <wx/string.h>
3 #include <wx/mstream.h>
4 #include <string.h>
6 #include "frmAbout.h"
7 #include "version.h"
8 #include "bitmaps.h"
10 frmAbout::frmAbout( wxWindow* parent )
11 :
12 frmAboutADT( parent )
13 {
15 }
17 void frmAbout::CloseAboutWindow( wxCommandEvent& event )
18 {
19     Close(this);
20 }
22 void frmAbout::SetupAboutWindow()
23 {
24   
25     wxString versionlabel, buildlabel;
26     wxMemoryInputStream istream(bigimgs_aboutimage_png, sizeof(bigimgs_aboutimage_png));
27     wxImage bigimgs_aboutimage_png(istream, wxBITMAP_TYPE_PNG);
28     wxBitmap aboutscreen(bigimgs_aboutimage_png, -1);
29     bmpLogo->SetBitmap(aboutscreen);
30     
31     versionlabel.Append(wxT("Version "));
32     versionlabel.Append(wxT(XSDAB_VERSION));
33     
34     buildlabel.Append(wxT("Built on "));
35     buildlabel.Append(wxT(__DATE__));
36     buildlabel.Append(wxT(" at "));
37     buildlabel.Append(wxT(__TIME__));
38     buildlabel.Append(wxT("."));    
39     
40     //wxJoin(arrayversionlabel, " ", '\0');
41     
42     lblVersion->SetLabel(versionlabel); 
43     lblCompileTime->SetLabel(buildlabel);
44     
45 }
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