From 3b8fa1539bff637461965a88b217e92b3bac4cde Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sat, 15 Jul 2017 21:55:57 +0100 Subject: [PATCH] Changed SetShowAccountStatus and SetShowCalendarStatus return value from bool to void --- source/widgets/XCCalendarDayEntry.cpp | 4 ++-- source/widgets/XCCalendarDayEntry.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/widgets/XCCalendarDayEntry.cpp b/source/widgets/XCCalendarDayEntry.cpp index 5bef669..089110f 100644 --- a/source/widgets/XCCalendarDayEntry.cpp +++ b/source/widgets/XCCalendarDayEntry.cpp @@ -357,13 +357,13 @@ wxSizerItem* XCCalendarDayEntry::GetAfterSpacer(){ } -bool XCCalendarDayEntry::SetShowAccountStatus(bool statusInput){ +void XCCalendarDayEntry::SetShowAccountStatus(bool statusInput){ showAccount = statusInput; } -bool XCCalendarDayEntry::SetShowCalendarStatus(bool statusInput){ +void XCCalendarDayEntry::SetShowCalendarStatus(bool statusInput){ showCalendar = statusInput; diff --git a/source/widgets/XCCalendarDayEntry.h b/source/widgets/XCCalendarDayEntry.h index 1836312..c82faf2 100644 --- a/source/widgets/XCCalendarDayEntry.h +++ b/source/widgets/XCCalendarDayEntry.h @@ -102,8 +102,8 @@ class XCCalendarDayEntry: public wxPanel wxSizerItem* GetAfterSpacer(); bool GetDisplayAlarm(); bool GetDisplayHighPriority(); - bool SetShowAccountStatus(bool statusInput); - bool SetShowCalendarStatus(bool statusInput); + void SetShowAccountStatus(bool statusInput); + void SetShowCalendarStatus(bool statusInput); bool GetShowAccountStatus(); bool GetShowCalendarStatus(); -- 2.39.5