From 1e27ad4d0a3825dc9d270848469bfc82a5d33607 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 19 Jul 2017 22:48:27 +0100 Subject: [PATCH] XCCalendarManipulator: Set button background colours to the main panel background colour --- source/widgets/XCCalendarManipulator.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/widgets/XCCalendarManipulator.cpp b/source/widgets/XCCalendarManipulator.cpp index a055eb8..95d2045 100644 --- a/source/widgets/XCCalendarManipulator.cpp +++ b/source/widgets/XCCalendarManipulator.cpp @@ -58,6 +58,9 @@ XCCalendarManipulator::XCCalendarManipulator(wxWindow* parent, const wxString& t previousButton->SetBitmap(previousIconBitmap); nextButton->SetBitmap(nextIconBitmap); calendarsButton->SetBitmap(calendarsIconBitmap); + previousButton->SetBackgroundColour(pnlMain->GetBackgroundColour()); + nextButton->SetBackgroundColour(pnlMain->GetBackgroundColour()); + calendarsButton->SetBackgroundColour(pnlMain->GetBackgroundColour()); // Setup the static text. @@ -70,6 +73,7 @@ XCCalendarManipulator::XCCalendarManipulator(wxWindow* parent, const wxString& t dateButton->SetFont(test); dateButton->SetForegroundColour(wxColour(255,255,255)); + dateButton->SetBackgroundColour(pnlMain->GetBackgroundColour()); // Setup the manipulator control. -- 2.39.5