]> git.saurik.com Git - wxWidgets.git/commitdiff
revert move events change, it blocks programmatic move events as well
authorPaul Cornett <paulcor@bullseye.com>
Mon, 23 Apr 2007 15:37:21 +0000 (15:37 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Mon, 23 Apr 2007 15:37:21 +0000 (15:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/toplevel.cpp

index 99da69d61c32e2efa5e69718f99e06b505899612..849ebee217a2c3cf64d4c8721732a5f578522add 100644 (file)
@@ -279,14 +279,11 @@ gtk_frame_configure_callback( GtkWidget* widget,
     wxPoint point;
     gtk_window_get_position((GtkWindow*)widget, &point.x, &point.y);
 
-    if (win->m_x != point.x || win->m_y != point.y)
-    {
-        win->m_x = point.x;
-        win->m_y = point.y;
-        wxMoveEvent mevent(point, win->GetId());
-        mevent.SetEventObject( win );
-        win->GetEventHandler()->ProcessEvent( mevent );
-    }
+    win->m_x = point.x;
+    win->m_y = point.y;
+    wxMoveEvent mevent(point, win->GetId());
+    mevent.SetEventObject( win );
+    win->GetEventHandler()->ProcessEvent( mevent );
 
     return FALSE;
 }