Typo in mouse event code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4ded51f2fa
commit
33688b28c3
@ -1831,7 +1831,7 @@ static gint gtk_window_motion_notify_callback( GtkWidget *widget,
|
||||
wxMouseEvent event( wxEVT_MOTION );
|
||||
InitMouseEvent(win, event, gdk_event);
|
||||
|
||||
if ( g_captureWindow )
|
||||
if ( !g_captureWindow )
|
||||
{
|
||||
// synthetize a mouse enter or leave event if needed
|
||||
GdkWindow *winUnderMouse = gdk_window_at_pointer(NULL, NULL);
|
||||
|
@ -1831,7 +1831,7 @@ static gint gtk_window_motion_notify_callback( GtkWidget *widget,
|
||||
wxMouseEvent event( wxEVT_MOTION );
|
||||
InitMouseEvent(win, event, gdk_event);
|
||||
|
||||
if ( g_captureWindow )
|
||||
if ( !g_captureWindow )
|
||||
{
|
||||
// synthetize a mouse enter or leave event if needed
|
||||
GdkWindow *winUnderMouse = gdk_window_at_pointer(NULL, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user