Months returned by wxDateTime::GetMonth() start from 0 while people mostly
expect to have 1-based months in the UI.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67292
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_datePicker->SetValue(today);
m_day->SetValue(wxString::Format(wxT("%d"), today.GetDay()));
- m_month->SetValue(wxString::Format(wxT("%d"), today.GetMonth()));
+ m_month->SetValue(wxString::Format(wxT("%d"), today.GetMonth() + 1));
m_year->SetValue(wxString::Format(wxT("%d"), today.GetYear()));
}