X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb9010ed40454cc978a9cbaa6de2ee41ea8b6c84..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/os2/joystick.h diff --git a/include/wx/os2/joystick.h b/include/wx/os2/joystick.h index 6e5a4c9236..1b348da46f 100644 --- a/include/wx/os2/joystick.h +++ b/include/wx/os2/joystick.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: joystick.h +// Name: wx/os2/joystick.h // Purpose: wxJoystick class // Author: David Webster // Modified by: @@ -14,7 +14,7 @@ #include "wx/event.h" -class WXDLLEXPORT wxJoystick: public wxObject +class WXDLLIMPEXP_ADV wxJoystick: public wxObject { DECLARE_DYNAMIC_CLASS(wxJoystick) public: @@ -22,7 +22,7 @@ class WXDLLEXPORT wxJoystick: public wxObject * Public interface */ - wxJoystick(int joystick = wxJOYSTICK1) { m_joystick = joystick; }; + wxJoystick(int joystick = wxJOYSTICK1) { m_joystick = joystick; } // Attributes //////////////////////////////////////////////////////////////////////////// @@ -42,7 +42,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 ;