X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b2f80c205c590fa4f28fcad3f98e1bb647cac72..a7ba5d1efbd9bcaa39d47d7752c0382bd220a42f:/samples/joytest/joytest.cpp?ds=inline 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;