Make wxJoystick::GetNumberJoystick a static method, as the number of

joysticks attached to the computer is a global property, not one of the
specific instance. Patch from Lauri Nurmi.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp
2005-11-29 12:50:13 +00:00
parent b377eda09d
commit da9e956384
14 changed files with 14 additions and 14 deletions

View File

@@ -46,7 +46,7 @@ class WXDLLEXPORT wxJoystick: public wxObject
////////////////////////////////////////////////////////////////////////////
bool IsOk() const; // Checks that the joystick is functioning
int GetNumberJoysticks() const ;
static int GetNumberJoysticks() ;
int GetManufacturerId() const ;
int GetProductId() const ;
wxString GetProductName() const ;