]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't call wxEvent::SetTimestamp() twice in InitMouseEvent<>().
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 15 Oct 2011 14:19:19 +0000 (14:19 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 15 Oct 2011 14:19:19 +0000 (14:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp

index a7ff360ffd03ecaa587cff9e269dc8bca97cee60..1dc17b2f259e44ce7de67d9585d2a4e1a30e0a45 100644 (file)
@@ -1106,7 +1106,6 @@ template<typename T> void InitMouseEvent(wxWindowGTK *win,
                                          wxMouseEvent& event,
                                          T *gdk_event)
 {
-    event.SetTimestamp( gdk_event->time );
     event.m_shiftDown = (gdk_event->state & GDK_SHIFT_MASK) != 0;
     event.m_controlDown = (gdk_event->state & GDK_CONTROL_MASK) != 0;
     event.m_altDown = (gdk_event->state & GDK_MOD1_MASK) != 0;