]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/window.cpp
Trace module initialization and cleanup.
[wxWidgets.git] / src / motif / window.cpp
index db0b0db413a56e3ed386503412038805f0af5a76..57aa52ecd546d686e22906619d820006578dfb85 100644 (file)
@@ -2521,7 +2521,8 @@ wxWindow *wxWindowBase::GetCapture()
 // position.
 wxWindow* wxFindWindowAtPointer(wxPoint& pt)
 {
-    return wxFindWindowAtPoint(wxGetMousePosition());
+    pt = wxGetMousePosition();
+    return wxFindWindowAtPoint(pt);
 }
 
 // Get the current mouse position.