3 #include <wx/mstream.h>
10 frmAbout::frmAbout( wxWindow* parent )
17 void frmAbout::CloseAboutWindow( wxCommandEvent& event )
22 void frmAbout::SetupAboutWindow()
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);
31 versionlabel.Append(wxT("Version "));
32 versionlabel.Append(wxT(XSDAB_VERSION));
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("."));
40 //wxJoin(arrayversionlabel, " ", '\0');
42 lblVersion->SetLabel(versionlabel);
43 lblCompileTime->SetLabel(buildlabel);