From 2a57bccde203c038c9cadcbc1b14fa86b6ee71f4 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 19 Jul 2017 22:47:35 +0100 Subject: [PATCH] XCCalendarDayEntry: Refresh panel on calendar colour update. --- source/widgets/XCCalendarDayEntry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/widgets/XCCalendarDayEntry.cpp b/source/widgets/XCCalendarDayEntry.cpp index 491c988..82b8b9c 100644 --- a/source/widgets/XCCalendarDayEntry.cpp +++ b/source/widgets/XCCalendarDayEntry.cpp @@ -244,7 +244,8 @@ void XCCalendarDayEntry::SetTime(int timeHour, int timeMinute, int timeSecond){ void XCCalendarDayEntry::SetColour(Colour *colourIn){ calendarColour->SetBackgroundColour(wxColour(colourIn->red, colourIn->green, colourIn->blue, colourIn->alpha)); - + this->Refresh(); + } void XCCalendarDayEntry::SetDisplayAlarm(bool displayValue){ -- 2.39.5