]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/joytest/joytest.cpp
Include wx/containr.h according to precompiled headers of wx/wx.h (with other minor...
[wxWidgets.git] / samples / joytest / joytest.cpp
index 0366659659d180520930305c063d7b06aeffc74e..65ca2e196c0b1e805f62bbc48ba77f8803f91d25 100644 (file)
@@ -86,7 +86,7 @@ bool MyApp::OnInit()
 
 #if wxUSE_STATUSBAR
     frame->CreateStatusBar();
-    frame->SetStatusText(wxString::Format(wxT("Device [%s] (PID:[%i] MID:[%i]) Ready... # of joysticks:[%i]"), stick.GetProductName().c_str(), stick.GetProductId(), stick.GetManufacturerId(), stick.GetNumberJoysticks()));
+    frame->SetStatusText(wxString::Format(wxT("Device [%s] (PID:[%i] MID:[%i]) Ready... # of joysticks:[%i]"), stick.GetProductName().c_str(), stick.GetProductId(), stick.GetManufacturerId(), wxJoystick::GetNumberJoysticks()));
 #endif // wxUSE_STATUSBAR
 
     frame->CenterOnScreen();