Rename wave file to be less agressive, for later replacement
with arbitrary sound git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -51,7 +51,7 @@ bool MyApp::OnInit()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if wxUSE_SOUND
|
#if wxUSE_SOUND
|
||||||
m_fire.Create(_T("gun.wav"));
|
m_fire.Create(_T("buttonpress.wav"));
|
||||||
#endif // wxUSE_SOUND
|
#endif // wxUSE_SOUND
|
||||||
|
|
||||||
m_minX = stick.GetXMin();
|
m_minX = stick.GetXMin();
|
||||||
@@ -162,11 +162,11 @@ void MyCanvas::OnJoystickEvent(wxJoystickEvent& event)
|
|||||||
/*
|
/*
|
||||||
for(int i = 0; i < nButtons; ++i)
|
for(int i = 0; i < nButtons; ++i)
|
||||||
{
|
{
|
||||||
buf += wxString(wxT("[")) +
|
buf += wxString(wxT("[")) +
|
||||||
((event.GetButtonState() & (1 << i)) ? wxT("Y") : wxT("N")) + wxString(wxT("]"));
|
((event.GetButtonState() & (1 << i)) ? wxT("Y") : wxT("N")) + wxString(wxT("]"));
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
frame->SetStatusText(buf);
|
frame->SetStatusText(buf);
|
||||||
#endif // wxUSE_STATUSBAR
|
#endif // wxUSE_STATUSBAR
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user