CalendarsButton->Connect(wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(XCCalendarManipulator::ShowCalendarsList), NULL, this);
PreviousButton->Connect(wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(XCCalendarManipulator::PreviousMonth), NULL, this);
- Connect(wxID_ANY, XCCALENDARMANIPULATOR_CHANGEGRID, wxCommandEventHandler(XCCalendarManipulator::ChangeGrid));
+ Connect(ID_CHANGEGRID, XCCALENDARMANIPULATOR_CHANGEGRID, wxCommandEventHandler(XCCalendarManipulator::ChangeGrid));
// Setup the manipulator control.
// Post an event to the parent control to update the grid.
wxCommandEvent ChangeGrid(XCCALENDARCTRL_CHANGEGRID);
+ ChangeGrid.SetId(ID_CHANGEGRID);
wxPostEvent(this->GetParent(), ChangeGrid);
UpdateDateButtonText();
// Post an event to the parent control to update the grid.
wxCommandEvent ChangeGrid(XCCALENDARCTRL_CHANGEGRID);
+ ChangeGrid.SetId(ID_CHANGEGRID);
wxPostEvent(this->GetParent(), ChangeGrid);
UpdateDateButtonText();
// Post an event to the parent control to update the grid.
wxCommandEvent ChangeGrid(XCCALENDARCTRL_CHANGEGRID);
+ ChangeGrid.SetId(ID_CHANGEGRID);
wxPostEvent(this->GetParent(), ChangeGrid);
UpdateDateButtonText();
return Year;
+}
+
+vector<int> XCCalendarManipulator::GetHiddenAccountsList(){
+
+ return calendarList->GetHiddenAccountsList();
+
+}
+
+vector<int> XCCalendarManipulator::GetHiddenCalendarsList(){
+
+ return calendarList->GetHiddenCalendarsList();
+
}
\ No newline at end of file