]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/datectrl.cpp
Invalidate only the specified rectangle
[wxWidgets.git] / src / palmos / datectrl.cpp
index c030a4c142b77427fac8b5996be5eb62b7c6bf45..a351bb2777c7c3106e475fb4d7fc3051e510698f 100644 (file)
@@ -34,7 +34,6 @@
 
 #include "wx/dynlib.h"
 
-#define _WX_DEFINE_DATE_EVENTS_
 #include "wx/dateevt.h"
 
 #include <Control.h>
@@ -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,