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:
@@ -5480,9 +5480,10 @@ static TEXTMETRIC wxGetTextMetrics(const wxWindowMSW *win)
|
|||||||
|
|
||||||
// Find the wxWindow at the current mouse position, returning the mouse
|
// Find the wxWindow at the current mouse position, returning the mouse
|
||||||
// position.
|
// position.
|
||||||
wxWindow* wxFindWindowAtPointer(wxPoint& WXUNUSED(pt))
|
wxWindow* wxFindWindowAtPointer(wxPoint& pt)
|
||||||
{
|
{
|
||||||
return wxFindWindowAtPoint(wxGetMousePosition());
|
pt = wxGetMousePosition();
|
||||||
|
return wxFindWindowAtPoint(pt);
|
||||||
}
|
}
|
||||||
|
|
||||||
wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
|
wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
|
||||||
|
Reference in New Issue
Block a user