]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/calctrl.h
use kind, not id, of a menu item to test whether it's a separator: this allows having...
[wxWidgets.git] / include / wx / msw / calctrl.h
index d750d54728c7647ae664f9da35c94f79c24819e2..50df43095ed358c7a505943db926df0de4b40804 100644 (file)
@@ -50,6 +50,8 @@ public:
                                             wxDateTime *date = NULL,
                                             wxDateTime::WeekDay *wd = NULL);
 
+    virtual void SetWindowStyleFlag(long style);
+
 protected:
     virtual wxSize wxCalendarCtrl::DoGetBestSize() const;
 
@@ -57,13 +59,19 @@ protected:
 
     virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
 
+    void MSWOnClick(wxMouseEvent& event);
     void MSWOnDoubleClick(wxMouseEvent& event);
 
 private:
     void Init() { m_marks = 0; }
 
+    // bring the control in sync with m_marks
     void UpdateMarks();
 
+    // set first day of week in the control to correspond to our
+    // wxCAL_MONDAY_FIRST flag
+    void UpdateFirstDayOfWeek();
+
 
     // current date, we need to store it instead of simply retrieving it from
     // the control as needed in order to be able to generate the correct events