Compilation fixes to joystick sample after r70279.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -152,10 +152,10 @@ void MyCanvas::OnJoystickEvent(wxJoystickEvent& event)
|
|||||||
dc.SetPen(*wxBLACK_PEN);
|
dc.SetPen(*wxBLACK_PEN);
|
||||||
dc.DrawLine(xpos, ypos, pt.x, pt.y);
|
dc.DrawLine(xpos, ypos, pt.x, pt.y);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
xpos = pt.x;
|
xpos = pt.x;
|
||||||
ypos = pt.y;
|
ypos = pt.y;
|
||||||
|
}
|
||||||
|
|
||||||
#if wxUSE_STATUSBAR
|
#if wxUSE_STATUSBAR
|
||||||
wxString buf;
|
wxString buf;
|
||||||
|
Reference in New Issue
Block a user