From: Robert Roebling Date: Sun, 2 Jun 2002 19:30:43 +0000 (+0000) Subject: Another typo fixed. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/af3653ddfa77e0937adfb8bc17fd77385d0ab8ab Another typo fixed. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index b377d1b881..61eef683dc 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -1352,8 +1352,8 @@ wxWindowGTK *FindWindowForMouseEvent(wxWindowGTK *win, wxCoord& x, wxCoord& y) if ((child->m_wxwindow == (GtkWidget*) NULL) && (child->m_x <= xx) && (child->m_y <= yy) && - (child->m_x+child->m_width >= x) && - (child->m_y+child->m_height >= y)) + (child->m_x+child->m_width >= xx) && + (child->m_y+child->m_height >= yy)) { win = child; x -= child->m_x; diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index b377d1b881..61eef683dc 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -1352,8 +1352,8 @@ wxWindowGTK *FindWindowForMouseEvent(wxWindowGTK *win, wxCoord& x, wxCoord& y) if ((child->m_wxwindow == (GtkWidget*) NULL) && (child->m_x <= xx) && (child->m_y <= yy) && - (child->m_x+child->m_width >= x) && - (child->m_y+child->m_height >= y)) + (child->m_x+child->m_width >= xx) && + (child->m_y+child->m_height >= yy)) { win = child; x -= child->m_x;