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