X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf57d1adacf489fb1a9a2167b909b279cdf3e0f6..f76dbc4d52c005b63745cf924efe30eece4c6f79:/src/common/tbarsmpl.cpp?ds=sidebyside diff --git a/src/common/tbarsmpl.cpp b/src/common/tbarsmpl.cpp index 5544772b39..662c6aa4f8 100644 --- a/src/common/tbarsmpl.cpp +++ b/src/common/tbarsmpl.cpp @@ -114,7 +114,7 @@ void wxToolBarSimple::OnKillFocus (wxFocusEvent& WXUNUSED(event)) void wxToolBarSimple::OnMouseEvent ( wxMouseEvent & event ) { wxCoord x, y; - event.Position(&x, &y); + event.GetPosition(&x, &y); wxToolBarTool *tool = FindToolForPosition(x, y); if (event.LeftDown())