]> 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 80261da8f5c2082bda7283cdcbd2a37b24a2bbf1..1ce550538b3016ff87355906bfdafb9d60736d49 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     27 Sep 2003
 // Id:          $Id$
 // Copyright:   (c) 2003 wxWindows team
-// License:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -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()));
 }