From 22f772f8e3a59cabc97977b55f5e3311482eaa41 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 7 Jan 2012 16:35:02 +0000 Subject: [PATCH] Compilation fixes to joystick sample after r70279. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/joytest/joytest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.45.2