// so simply test for negative value.
event.m_altDown = ::GetKeyState(VK_MENU) < 0;
+#ifndef __WXWINCE__
event.SetTimestamp(::GetMessageTime());
+#endif
+
event.m_eventObject = this;
event.SetId(GetId());
event.m_keyCode = id;
event.m_rawCode = (wxUint32) wParam;
event.m_rawFlags = (wxUint32) lParam;
+#ifndef __WXWINCE__
event.SetTimestamp(::GetMessageTime());
+#endif
// translate the position to client coords
POINT pt;
event.m_keyCode = id;
event.m_shiftDown = wxIsShiftDown();
event.m_controlDown = wxIsCtrlDown();
+#ifndef __WXWINCE__
event.SetTimestamp(::GetMessageTime());
-
+#endif
wxWindow *win = wxGetActiveWindow();
wxEvtHandler *handler;
if ( win )