#include <wx/mstream.h>
#include "events.h"
-#if defined(WIN32)
+#if defined(WIN32) || defined(__APPLE__)
#include "../forms/calendarselectmonth/frmCalendarSelectMonth.h"
#else
#include "XCCalendarMonthSelect.h"
wxButton *nextButton = nullptr;
wxButton *calendarsButton = nullptr;
wxButton *dateButton = nullptr;
-#if defined(WIN32)
+#if defined(WIN32) || defined(__APPLE__)
frmCalendarSelectMonth *moo = nullptr;
#else
XCCalendarMonthSelect *moo = nullptr;
wxBitmap nextIconBitmap;
wxBitmap previousIconBitmap;
wxBitmap calendarsIconBitmap;
+#if defined(__APPLE__)
+ bool calendarListShow = false;
+#endif
void UpdateDateButtonText();
protected:
- void DateTextMouseover(wxMouseEvent &event);
- void DateTextMouseout(wxMouseEvent &event);
+ void ButtonMouseover(wxMouseEvent &event);
+ void ButtonMouseout(wxMouseEvent &event);
void DateTextClick(wxCommandEvent &event);
void ChangeGrid(wxCommandEvent &event);
void NextMonth(wxCommandEvent &event);
};
-#endif
\ No newline at end of file
+#endif