Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Moved DeselectOthersEvent setup to the XCCalendarDay constructor.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 17 Jul 2016 14:17:47 +0000 (15:17 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 17 Jul 2016 14:17:47 +0000 (15:17 +0100)
source/widgets/XCCalendarDay.cpp

index 37ce112..6a6d442 100644 (file)
@@ -23,14 +23,14 @@ using namespace std;
 BEGIN_EVENT_TABLE(XCCalendarDay, wxPanel)
 EVT_PAINT(XCCalendarDay::PaintFrameEvent)
 EVT_SIZE(XCCalendarDay::ResizeFrameEvent)
-//EVT_COMMAND(wxID_ANY, XCCALENDARDAY_DESELECTOTHERENTRIES, XCCalendarDay::DeselectOthersEvent)
 END_EVENT_TABLE()
 
 XCCalendarDay::XCCalendarDay(wxWindow *parent, const wxString& title, const wxPoint& pos, const wxSize& size)
         : wxPanel(parent, wxID_ANY, pos, size, wxTAB_TRAVERSAL, title){
        
        Connect(wxID_ANY, XCCALENDARDAY_DESELECTOTHERENTRIES, wxCommandEventHandler(XCCalendarDay::DeselectOthersEvent));
-       
+       Connect(ID_DESELECTALLITEMS, XCCALENDARDAY_DESELECTALLENTRIES, wxCommandEventHandler(XCCalendarDay::DeselectAllEvent));
+
        this->SetMinSize( wxSize( 100,100 ) );
        
        AlertIconBitmap.LoadFile("AlertIcon-32.png", wxBITMAP_DEFAULT_TYPE);
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