// position.
wxWindow* wxFindWindowAtPointer(wxPoint& pt)
{
- wxFAIL_MSG(_("Not implemented"));
- return NULL;
+ pt = wxGetMousePosition();
+ wxWindow* found = wxFindWindowAtPoint(pt);
+ return found;
}
// Get the current mouse position.
wxPoint wxGetMousePosition()
{
- wxFAIL_MSG(_("Not implemented"));
- return wxPoint;
+ int x, y;
+ wxGetMousePosition(& x, & y);
+ return wxPoint(x, y);
}