Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
XCCalendarDayEntry: Refresh panel on selection and deselection.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 17 Jul 2017 19:25:42 +0000 (20:25 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 17 Jul 2017 19:25:42 +0000 (20:25 +0100)
source/widgets/XCCalendarDayEntry.cpp

index 089110f..491c988 100644 (file)
@@ -204,7 +204,8 @@ void XCCalendarDayEntry::LeftClick(wxMouseEvent &mouseEvent){
        deselectOthersEvent.SetInt(eventID);
        deselectOthersEvent.SetId(ID_DESELECTOTHERENTRIES);
        wxPostEvent(dayPanel, deselectOthersEvent);
-       
+       this->Refresh();
+
 }
 
 void XCCalendarDayEntry::RightClick(wxMouseEvent &MouseEvent){
@@ -225,6 +226,7 @@ void XCCalendarDayEntry::RightClick(wxMouseEvent &MouseEvent){
 void XCCalendarDayEntry::Deselect(wxCommandEvent &DeselectEvent){
        
        mainPanel->SetBackgroundColour(wxNullColour);
+       this->Refresh();
        
 }
 
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