Fixed bug [ 635990 ] wxFindWindowAtPointer - mousepos not set

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-11-11 09:55:19 +00:00
parent 9a7f62c35e
commit 368e6e1002

View File

@@ -5480,9 +5480,10 @@ static TEXTMETRIC wxGetTextMetrics(const wxWindowMSW *win)
// Find the wxWindow at the current mouse position, returning the mouse
// position.
wxWindow* wxFindWindowAtPointer(wxPoint& WXUNUSED(pt))
wxWindow* wxFindWindowAtPointer(wxPoint& pt)
{
return wxFindWindowAtPoint(wxGetMousePosition());
pt = wxGetMousePosition();
return wxFindWindowAtPoint(pt);
}
wxWindow* wxFindWindowAtPoint(const wxPoint& pt)