Check accelerators before sending EVT_CHAR
[wxWidgets.git] / src / msw / datectrl.cpp
index 75cada840f430cd2210e6a0f5c5fdc190ff56c30..71ba127e719ab3f731262d69bc8c24ad3d30a37f 100644 (file)
@@ -40,7 +40,7 @@
 #include "wx/msw/wrapcctl.h"
 #include "wx/msw/private.h"
 
-#ifdef __GNUWIN32__
+#if defined(__GNUWIN32__) && ! wxCHECK_W32API_VERSION( 2, 4 )
 typedef struct tagNMDATETIMECHANGE
 {
     NMHDR       nmhdr;