Fixed .Position -> .GetPosition for wxMouseEvent

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Unknown (CR) 1999-11-03 03:52:47 +00:00
parent 54b37e2e8b
commit 774b322d02

View File

@ -193,7 +193,7 @@ void wxToolBarMSW::OnMouseEvent(wxMouseEvent& event)
} }
long x, y; long x, y;
event.Position(&x, &y); event.GetPosition(&x, &y);
wxToolBarTool *tool = FindToolForPosition(x, y); wxToolBarTool *tool = FindToolForPosition(x, y);
if (!tool) if (!tool)