]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/calctrl.h
Applied patch [ 858324 ] Calling EndModal inside an EVT_INIT_DIALOG event handler
[wxWidgets.git] / include / wx / calctrl.h
index 285b7370651060e01140d64d501756f9d17aee5e..cb12b7ef0455f4293d2d0dfbcf452e74b861493d 100644 (file)
@@ -169,6 +169,8 @@ public:
     wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type);
 
     const wxDateTime& GetDate() const { return m_date; }
+    void SetDate(const wxDateTime &date) { m_date = date; }
+    void SetWeekDay(const wxDateTime::WeekDay wd) { m_wday = wd; }
     wxDateTime::WeekDay GetWeekDay() const { return m_wday; }
 
 protected: