]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/datepick.cpp
Add CombineURIs implementation for wxWebFileProtocolHandler. Update the IE backend...
[wxWidgets.git] / samples / widgets / datepick.cpp
index c0646f0b890680e10050f45ffa16fdc9d512ee1c..1ce550538b3016ff87355906bfdafb9d60736d49 100644 (file)
@@ -186,7 +186,7 @@ void DatePickerWidgetsPage::Reset()
 
     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()));
 }