From: Steve Brokenshire Date: Mon, 10 Jul 2017 20:41:15 +0000 (+0100) Subject: XCCalendarMonthView: Corrected event type for DeselectOthersEvent X-Git-Tag: release-0.04~19 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=df6ed16ac514d7b0408f609b9ff1a35aaffdb0e5;p=xestiacalendar%2F.git XCCalendarMonthView: Corrected event type for DeselectOthersEvent --- diff --git a/source/widgets/XCCalendarMonthView.cpp b/source/widgets/XCCalendarMonthView.cpp index 22ee98d..dda8448 100644 --- a/source/widgets/XCCalendarMonthView.cpp +++ b/source/widgets/XCCalendarMonthView.cpp @@ -81,7 +81,7 @@ XCCalendarMonthView::XCCalendarMonthView(wxWindow *parent, const wxString& title // Bind events to the control. - Bind(XCCALENDARMONTH_DELETECALENDARENTRIES, &XCCalendarMonthView::DeselectOthersEvent, this, ID_MONTHVIEWCLEARSELECTION); + Bind(XCCALENDARMONTH_DESELECTOTHERENTRIES, &XCCalendarMonthView::DeselectOthersEvent, this, ID_MONTHVIEWCLEARSELECTION); Bind(XCCALENDARMONTH_HIDEACCOUNTENTRIES, &XCCalendarMonthView::HideAccountEntries, this, ID_HIDEENTRIES); Bind(XCCALENDARMONTH_SHOWACCOUNTENTRIES, &XCCalendarMonthView::ShowAccountEntries, this, ID_SHOWENTRIES); Bind(XCCALENDARMONTH_HIDECALENDARENTRIES, &XCCalendarMonthView::HideCalendarEntries, this, ID_HIDECALENDARENTRIES);