revert move events change, it blocks programmatic move events as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -279,14 +279,11 @@ gtk_frame_configure_callback( GtkWidget* widget,
|
|||||||
wxPoint point;
|
wxPoint point;
|
||||||
gtk_window_get_position((GtkWindow*)widget, &point.x, &point.y);
|
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_x = point.x;
|
||||||
win->m_y = point.y;
|
win->m_y = point.y;
|
||||||
wxMoveEvent mevent(point, win->GetId());
|
wxMoveEvent mevent(point, win->GetId());
|
||||||
mevent.SetEventObject( win );
|
mevent.SetEventObject( win );
|
||||||
win->GetEventHandler()->ProcessEvent( mevent );
|
win->GetEventHandler()->ProcessEvent( mevent );
|
||||||
}
|
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user