X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f97d339d6f290abe1d976221424450ea0b8afe9..3b96fc2f1b64f78bba7c755a5c14f618962f696b:/src/motif/window.cpp diff --git a/src/motif/window.cpp b/src/motif/window.cpp index 380d2b7d03..57aa52ecd5 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "window.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -2525,7 +2521,8 @@ wxWindow *wxWindowBase::GetCapture() // position. wxWindow* wxFindWindowAtPointer(wxPoint& pt) { - return wxFindWindowAtPoint(wxGetMousePosition()); + pt = wxGetMousePosition(); + return wxFindWindowAtPoint(pt); } // Get the current mouse position.