]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/calctrl.h
wxSEHReport renamed to wxCrashReport enhanced and debugged; seems to work
[wxWidgets.git] / include / wx / generic / calctrl.h
index fdd9b4dd076ef85cd9a1f04add1f96e22bd92943..8c7666012563b703932b0476140a02924a24111b 100644 (file)
@@ -256,6 +256,10 @@ private:
     // if the date isn't visible (-1, -1) is put in (day, week) and false is returned
     bool GetDateCoord(const wxDateTime& date, int *day, int *week) const;
 
+    // Set the flag for SetDate(): otherwise it would overwrite the year
+    // typed in by the user
+    void SetUserChangedYear() { m_userChangedYear = TRUE; }
+
     // the subcontrols
     wxStaticText *m_staticMonth;
     wxComboBox *m_comboMonth;