Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added the SetupControl function for the XCCalendarDay class
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 26 Jun 2016 12:41:37 +0000 (13:41 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 26 Jun 2016 12:41:37 +0000 (13:41 +0100)
source/widgets/XCCalendarDay.cpp
source/widgets/XCCalendarDay.h

index 6c0b29b..edc0856 100644 (file)
@@ -249,4 +249,21 @@ void XCCalendarDay::DeselectOthersEvent(wxCommandEvent &DeselectEvent)
                        
        }
        
+}
+
+void XCCalendarDay::SetupControl(int SetupDay, int SetupMonth, int SetupYear, bool SetupIsInMonth)
+{
+       
+       // Set the day
+       
+       NumberText->SetLabel(wxString::Format("%02i", SetupDay));
+       
+       // Set the month
+       
+       // Set the year.
+       
+       // Setup the Is In Month value.
+       
+       IsInMonth = SetupIsInMonth;
+       
 }
\ No newline at end of file
index 6e46b14..70a6d2f 100644 (file)
@@ -63,6 +63,7 @@ class XCCalendarDay: public wxPanel
                void ResizeFrameEvent(wxSizeEvent &SizeEvent);
                void DeselectOthersEvent(wxCommandEvent &DeselectEvent);
                void UpdateTopIcons();
+               void SetupControl(int SetupDay, int SetupMonth, int SetupYear, bool SetupIsInMonth);
        
        DECLARE_EVENT_TABLE()
 };
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