From: Vadim Zeitlin Date: Sat, 7 Jan 2012 16:35:02 +0000 (+0000) Subject: Compilation fixes to joystick sample after r70279. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/22f772f8e3a59cabc97977b55f5e3311482eaa41 Compilation fixes to joystick sample after r70279. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/joytest/joytest.cpp b/samples/joytest/joytest.cpp index 0e4c851ca1..18e7812fb8 100644 --- a/samples/joytest/joytest.cpp +++ b/samples/joytest/joytest.cpp @@ -152,10 +152,10 @@ void MyCanvas::OnJoystickEvent(wxJoystickEvent& event) dc.SetPen(*wxBLACK_PEN); dc.DrawLine(xpos, ypos, pt.x, pt.y); } - } - xpos = pt.x; - ypos = pt.y; + xpos = pt.x; + ypos = pt.y; + } #if wxUSE_STATUSBAR wxString buf;