Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
XCCalendarManipulator: Set button background colours to the main panel background...
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 19 Jul 2017 21:48:27 +0000 (22:48 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 19 Jul 2017 21:48:27 +0000 (22:48 +0100)
source/widgets/XCCalendarManipulator.cpp

index a055eb8..95d2045 100644 (file)
@@ -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.
 
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy