+}
+
+void XCCalendarCtrl::HideAccountEntries(wxCommandEvent &accountData){
+
+ // Get the list of calendar IDs for the account and go through
+ // the list of entries in each day control.
+
+ wxCommandEvent event(XCCALENDARMONTH_HIDEACCOUNTENTRIES);
+ event.SetInt(accountData.GetInt());
+ event.SetId(ID_HIDEENTRIES);
+ wxPostEvent(MonthViewCtrl, event);
+
+}
+
+void XCCalendarCtrl::ShowAccountEntries(wxCommandEvent &accountData){
+
+ // Get the list of calendar IDs for the account and go through
+ // the list of entries in each day control.
+
+ wxCommandEvent event(XCCALENDARMONTH_SHOWACCOUNTENTRIES);
+ event.SetInt(accountData.GetInt());
+ event.SetId(ID_SHOWENTRIES);
+ wxPostEvent(MonthViewCtrl, event);
+
+}
+
+void XCCalendarCtrl::HideCalendarEntries(wxCommandEvent &calendarData){
+
+ // Get the list of calendar IDs for the account and go through
+ // the list of entries in each day control.
+
+ wxCommandEvent event(XCCALENDARMONTH_HIDECALENDARENTRIES);
+ event.SetInt(calendarData.GetInt());
+ event.SetId(ID_HIDECALENDARENTRIES);
+ wxPostEvent(MonthViewCtrl, event);
+
+}
+
+void XCCalendarCtrl::ShowCalendarEntries(wxCommandEvent &calendarData){
+
+ // Get the list of calendar IDs for the account and go through
+ // the list of entries in each day control.
+
+ wxCommandEvent event(XCCALENDARMONTH_SHOWCALENDARENTRIES);
+ event.SetInt(calendarData.GetInt());
+ event.SetId(ID_SHOWCALENDARENTRIES);
+ wxPostEvent(MonthViewCtrl, event);
+