Reset g_lastMouseEvent after processing the mouse button release event

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-02-01 22:54:19 +00:00
parent b80e33a799
commit 8aaba8af80

View File

@@ -1682,7 +1682,11 @@ gtk_window_button_release_callback( GtkWidget *widget,
event.SetEventObject( win );
event.SetId( win->GetId() );
return win->GTKProcessEvent(event);
bool ret = win->GTKProcessEvent(event);
g_lastMouseEvent = NULL;
return ret;
}
//-----------------------------------------------------------------------------