From af8ec91907f2a9c935b7dd5460a5667ae733754b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 2 Nov 1999 18:46:56 +0000 Subject: [PATCH] and the compilation fix for the warning fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/tbarsmpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())