Patch level :10.0
Files correlati : Ricompilazione Demo : [ ] Commento :aggiunta data/ora creazione setup.exe in modo da sapere che cavolo di programma si sta usando git-svn-id: svn://10.65.10.50/trunk@18798 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
5fb7c89700
commit
faf0b22a48
@ -73,6 +73,14 @@ void CampoFrame::OnErase(wxEraseEvent& e)
|
|||||||
dc.DrawText(PRODUCT, k, k);
|
dc.DrawText(PRODUCT, k, k);
|
||||||
dc.SetTextForeground(c1);
|
dc.SetTextForeground(c1);
|
||||||
dc.DrawText(PRODUCT, k/2, k/2);
|
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()
|
CampoFrame::CampoFrame()
|
||||||
|
@ -11,9 +11,10 @@
|
|||||||
//Campo wizard page (pagina generica del programma, di cui saranno figlie le singole pagine)
|
//Campo wizard page (pagina generica del programma, di cui saranno figlie le singole pagine)
|
||||||
class CampoWizardPage : public wxWizardPageSimple
|
class CampoWizardPage : public wxWizardPageSimple
|
||||||
{
|
{
|
||||||
wxHtmlWindow* m_pText;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
wxHtmlWindow* m_pText;
|
||||||
|
|
||||||
CampoWizard& GetWizard() const {return *(CampoWizard*)GetParent();}
|
CampoWizard& GetWizard() const {return *(CampoWizard*)GetParent();}
|
||||||
void SetHTMLText(const wxString strTitle, const wxString strBody);
|
void SetHTMLText(const wxString strTitle, const wxString strBody);
|
||||||
void SetHTMLPage(const wxString strFile);
|
void SetHTMLPage(const wxString strFile);
|
||||||
@ -259,6 +260,14 @@ CampoWizardPage1::CampoWizardPage1(wxWizard* parent) : CampoWizardPage(parent)
|
|||||||
strBody += wxT("<p><b>4) </b>che il programma PRODUCT NON sia in funzione.</p>");
|
strBody += wxT("<p><b>4) </b>che il programma PRODUCT NON sia in funzione.</p>");
|
||||||
strBody += wxT("<p><b>5) </b>che l'eventuale gestore dei servizi di PRODUCT, se presente, NON sia in funzione.</p>");
|
strBody += wxT("<p><b>5) </b>che l'eventuale gestore dei servizi di PRODUCT, se presente, NON sia in funzione.</p>");
|
||||||
SetHTMLText(strTitle, strBody);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user