ticket #4 fixes bug that prevent building from wxCalendarCtrl on Mac