Typo in mouse event code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2003-04-23 06:37:05 +00:00
parent 004612c018
commit 0f20644152
2 changed files with 12 additions and 12 deletions

View File

@@ -1831,7 +1831,7 @@ static gint gtk_window_motion_notify_callback( GtkWidget *widget,
wxMouseEvent event( wxEVT_MOTION ); wxMouseEvent event( wxEVT_MOTION );
InitMouseEvent(win, event, gdk_event); InitMouseEvent(win, event, gdk_event);
if ( g_captureWindow ) if ( !g_captureWindow )
{ {
// synthetize a mouse enter or leave event if needed // synthetize a mouse enter or leave event if needed
GdkWindow *winUnderMouse = gdk_window_at_pointer(NULL, NULL); GdkWindow *winUnderMouse = gdk_window_at_pointer(NULL, NULL);
@@ -3110,10 +3110,10 @@ void wxWindowGTK::OnInternalIdle()
if (cursor.Ok()) if (cursor.Ok())
{ {
/* I now set the cursor anew in every OnInternalIdle call // We now set the cursor anew in every OnInternalIdle call
as setting the cursor in a parent window also effects the // as setting the cursor in a parent window also effects the
windows above so that checking for the current cursor is // windows above so that checking for the current cursor is
not possible. */ // not possible.
if (m_wxwindow) if (m_wxwindow)
{ {

View File

@@ -1831,7 +1831,7 @@ static gint gtk_window_motion_notify_callback( GtkWidget *widget,
wxMouseEvent event( wxEVT_MOTION ); wxMouseEvent event( wxEVT_MOTION );
InitMouseEvent(win, event, gdk_event); InitMouseEvent(win, event, gdk_event);
if ( g_captureWindow ) if ( !g_captureWindow )
{ {
// synthetize a mouse enter or leave event if needed // synthetize a mouse enter or leave event if needed
GdkWindow *winUnderMouse = gdk_window_at_pointer(NULL, NULL); GdkWindow *winUnderMouse = gdk_window_at_pointer(NULL, NULL);
@@ -3110,10 +3110,10 @@ void wxWindowGTK::OnInternalIdle()
if (cursor.Ok()) if (cursor.Ok())
{ {
/* I now set the cursor anew in every OnInternalIdle call // We now set the cursor anew in every OnInternalIdle call
as setting the cursor in a parent window also effects the // as setting the cursor in a parent window also effects the
windows above so that checking for the current cursor is // windows above so that checking for the current cursor is
not possible. */ // not possible.
if (m_wxwindow) if (m_wxwindow)
{ {