X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88a7a4e10ed18f81a576dcd866cfbf02bf404c00..c7e94140cd436c6c234a382ad4e16ec5da65830c:/src/palmos/datectrl.cpp diff --git a/src/palmos/datectrl.cpp b/src/palmos/datectrl.cpp index 29bc8cbb5e..e58d714900 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,wxT("Pick date"))) + if(!SelectDay(selectDayByDay,&month,&day,&year, "Pick date")) return false; wxDateTime dt(m_dt); dt.Set((wxDateTime::wxDateTime_t)day,