X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88a7a4e10ed18f81a576dcd866cfbf02bf404c00..0d19936d71032ba7658616faed3b63d4c930e5b4:/src/palmos/datectrl.cpp?ds=sidebyside diff --git a/src/palmos/datectrl.cpp b/src/palmos/datectrl.cpp index 29bc8cbb5e..a351bb2777 100644 --- a/src/palmos/datectrl.cpp +++ b/src/palmos/datectrl.cpp @@ -29,12 +29,11 @@ #ifndef WX_PRECOMP #include "wx/intl.h" + #include "wx/app.h" #endif -#include "wx/app.h" #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,