]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/datectrl.cpp
Correct sorting in wxDataViewTreeStore, fixes #11436, part II
[wxWidgets.git] / src / palmos / datectrl.cpp
index c030a4c142b77427fac8b5996be5eb62b7c6bf45..e58d7149006d938e58964801ae87282718328f62 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,wxT("Pick date")))
+    if(!SelectDay(selectDayByDay,&month,&day,&year, "Pick date"))
         return false;
     wxDateTime dt(m_dt);
     dt.Set((wxDateTime::wxDateTime_t)day,