diff --git a/setup/Setup.cpp b/setup/Setup.cpp index 93b0f21c2..041abe4fb 100755 --- a/setup/Setup.cpp +++ b/setup/Setup.cpp @@ -73,6 +73,14 @@ void CampoFrame::OnErase(wxEraseEvent& e) dc.DrawText(PRODUCT, k, k); dc.SetTextForeground(c1); dc.DrawText(PRODUCT, k/2, k/2); + + wxFont* pSmallFont = wxTheFontList->FindOrCreateFont(nHeight/6, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_LIGHT); + dc.SetFont(*pSmallFont); + const wxString strTime = __TIMESTAMP__; + dc.GetTextExtent(strTime, &w, &h); + dc.SetTextForeground(c2); + dc.DrawText(strTime, rect.GetRight()-w, 0); + } CampoFrame::CampoFrame() diff --git a/setup/wizard.cpp b/setup/wizard.cpp index 60a4fb237..ae504d58c 100755 --- a/setup/wizard.cpp +++ b/setup/wizard.cpp @@ -11,9 +11,10 @@ //Campo wizard page (pagina generica del programma, di cui saranno figlie le singole pagine) class CampoWizardPage : public wxWizardPageSimple { - wxHtmlWindow* m_pText; protected: + wxHtmlWindow* m_pText; + CampoWizard& GetWizard() const {return *(CampoWizard*)GetParent();} void SetHTMLText(const wxString strTitle, const wxString strBody); void SetHTMLPage(const wxString strFile); @@ -259,6 +260,14 @@ CampoWizardPage1::CampoWizardPage1(wxWizard* parent) : CampoWizardPage(parent) strBody += wxT("

4) che il programma PRODUCT NON sia in funzione.

"); strBody += wxT("

5) che l'eventuale gestore dei servizi di PRODUCT, se presente, NON sia in funzione.

"); SetHTMLText(strTitle, strBody); + + //mette a video una stringa con la data di realizzazione di setup.exe + wxString strSetupVersion = __TIMESTAMP__; + //testo con giornodataora + wxSize szSizer = m_pText->GetSize(); + szSizer.y = -1; + wxStaticText* stText = new wxStaticText (this, wxID_ANY, strSetupVersion, wxDefaultPosition, szSizer, wxALIGN_RIGHT); + GetSizer()->Add(stText); }