]> git.saurik.com Git - wxWidgets.git/commitdiff
and the compilation fix for the warning fixes
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 1999 18:46:56 +0000 (18:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 1999 18:46:56 +0000 (18:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/tbarsmpl.cpp

index 5544772b39726434073448eb9f70a5964a995975..662c6aa4f806a9fc9d7631490274d26dd6d183b6 100644 (file)
@@ -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())