X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/59a12e90345a6d88e74f594b500be4b48637f52c..6ba636000f13b4bf7d3e7dcfad429713085f6700:/src/motif/window.cpp diff --git a/src/motif/window.cpp b/src/motif/window.cpp index 5e39ed8eef..456b75c715 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -2984,7 +2984,7 @@ void wxWindow::ChangeFont(bool keepOriginalSize) wxWindow *wxGetActiveWindow() { // TODO - wxFAIL_MSG(_("Not implemented")); + wxFAIL_MSG("Not implemented"); return NULL; } @@ -2992,9 +2992,7 @@ wxWindow *wxGetActiveWindow() // position. wxWindow* wxFindWindowAtPointer(wxPoint& pt) { - pt = wxGetMousePosition(); - wxWindow* found = wxFindWindowAtPoint(pt); - return found; + return wxFindWindowAtPoint(wxGetMousePosition()); } // Get the current mouse position.