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
This commit is contained in:
Vadim Zeitlin 1999-11-02 18:46:56 +00:00
parent bf57d1adac
commit af8ec91907

View 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())