// Created: 27 Sep 2003
// Id: $Id$
// Copyright: (c) 2003 wxWindows team
-// License: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
const wxDateTime today = wxDateTime::Today();
m_datePicker->SetValue(today);
- m_day->SetValue(wxString::Format(_T("%d"), today.GetDay()));
- m_month->SetValue(wxString::Format(_T("%d"), today.GetMonth()));
- m_year->SetValue(wxString::Format(_T("%d"), today.GetYear()));
+ m_day->SetValue(wxString::Format(wxT("%d"), today.GetDay()));
+ m_month->SetValue(wxString::Format(wxT("%d"), today.GetMonth() + 1));
+ m_year->SetValue(wxString::Format(wxT("%d"), today.GetYear()));
}
void DatePickerWidgetsPage::CreateDatePicker()
}
else
{
- wxLogError(_T("Date is invalid"));
+ wxLogError(wxT("Date is invalid"));
}
}
else
{
- wxLogError(_T("One of inputs is not number"));
+ wxLogError(wxT("One of inputs is not number"));
}
}