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:
parent
54b37e2e8b
commit
774b322d02
@ -193,7 +193,7 @@ void wxToolBarMSW::OnMouseEvent(wxMouseEvent& event)
|
||||
}
|
||||
|
||||
long x, y;
|
||||
event.Position(&x, &y);
|
||||
event.GetPosition(&x, &y);
|
||||
wxToolBarTool *tool = FindToolForPosition(x, y);
|
||||
|
||||
if (!tool)
|
||||
|
Loading…
Reference in New Issue
Block a user