X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/670f9935630beb2123a5ca62894ae92a3f0efa4f..069b2e594107028ef3ee0a03b8b9fd13b0fa4f32:/src/palmos/datectrl.cpp diff --git a/src/palmos/datectrl.cpp b/src/palmos/datectrl.cpp index c030a4c142..87044d1564 100644 --- a/src/palmos/datectrl.cpp +++ b/src/palmos/datectrl.cpp @@ -123,7 +123,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,