From: Steve Brokenshire Date: Wed, 19 Jul 2017 21:48:27 +0000 (+0100) Subject: XCCalendarManipulator: Set button background colours to the main panel background... X-Git-Tag: release-0.04~8 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=1e27ad4d0a3825dc9d270848469bfc82a5d33607;p=xestiacalendar%2F.git XCCalendarManipulator: Set button background colours to the main panel background colour --- 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.