X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/670f9935630beb2123a5ca62894ae92a3f0efa4f..c8f04120ce8c8df04f85f12d7283fa13c369e859:/src/palmos/datectrl.cpp diff --git a/src/palmos/datectrl.cpp b/src/palmos/datectrl.cpp index c030a4c142..a351bb2777 100644 --- a/src/palmos/datectrl.cpp +++ b/src/palmos/datectrl.cpp @@ -34,7 +34,6 @@ #include "wx/dynlib.h" -#define _WX_DEFINE_DATE_EVENTS_ #include "wx/dateevt.h" #include @@ -123,7 +122,8 @@ bool wxDatePickerCtrl::SendClickEvent() int16_t day = m_dt.GetDay(); int16_t year = m_dt.GetYear(); - if(!SelectDay(selectDayByDay,&month,&day,&year,_T("Pick date"))) + //if(!SelectDay(selectDayByDay,&month,&day,&year,_T("Pick date"))) + if(!SelectDay(selectDayByDay,&month,&day,&year, "Pick date")) return false; wxDateTime dt(m_dt); dt.Set((wxDateTime::wxDateTime_t)day,