warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -130,9 +130,9 @@ void MyCanvas::OnJoystickEvent(wxJoystickEvent& event)
|
|||||||
|
|
||||||
char buf[100];
|
char buf[100];
|
||||||
if (event.ButtonDown())
|
if (event.ButtonDown())
|
||||||
sprintf(buf, "Joystick (%ld, %ld) Fire!", pt.x, pt.y);
|
sprintf(buf, "Joystick (%d, %d) Fire!", pt.x, pt.y);
|
||||||
else
|
else
|
||||||
sprintf(buf, "Joystick (%ld, %ld)", pt.x, pt.y);
|
sprintf(buf, "Joystick (%d, %d)", pt.x, pt.y);
|
||||||
frame->SetStatusText(buf);
|
frame->SetStatusText(buf);
|
||||||
|
|
||||||
#if wxUSE_WAVE
|
#if wxUSE_WAVE
|
||||||
|
Reference in New Issue
Block a user