]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/datectrl.cpp
Change wxNotebook selection before sending page changed event in wxMSW.
[wxWidgets.git] / src / palmos / datectrl.cpp
index 87044d15646b1809a2d60b8b9fb6f6123ec6e58a..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,7 @@ 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);