X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/59a12e90345a6d88e74f594b500be4b48637f52c..d6c9c1b71e069396bbe3850862de9aa10e6812e0:/src/mac/window.cpp?ds=sidebyside 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); }