]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
restored sending events from Replace/Remove/Write/AppendText() methods
[wxWidgets.git] / src / common / utilscmn.cpp
index 2f359b7cc7c5e07f1c7da5e4090b7879c0b3b735..911731b7d8ac36b64a3b8b41cbf65372d8156fc6 100644 (file)
@@ -1077,7 +1077,7 @@ wxWindow* wxFindWindowAtPoint(wxWindow* win, const wxPoint& pt)
     }
 
     wxRect rect(pos, sz);
-    if (rect.Inside(pt))
+    if (rect.Contains(pt))
         return win;
 
     return NULL;