X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/59a12e90345a6d88e74f594b500be4b48637f52c..f1d93f0beeec9d88f8a225aa35a9ccc163dcdb15:/src/mac/window.cpp diff --git a/src/mac/window.cpp b/src/mac/window.cpp index fe831d3d08..d2696fe6e0 100644 --- a/src/mac/window.cpp +++ b/src/mac/window.cpp @@ -2369,7 +2369,8 @@ wxWindow* wxFindWindowAtPointer(wxPoint& pt) // Get the current mouse position. wxPoint wxGetMousePosition() { - wxFAIL_MSG(_("Not implemented")); - return wxPoint; + int x, y; + wxGetMousePosition(& x, & y); + return wxPoint(x, y); }