]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/joystick.cpp
disallow creation of wxDC objects and made wxDC an ABC; use wxDCTemp instead of wxDC...
[wxWidgets.git] / src / unix / joystick.cpp
index fcb266cc1d9cb9a82fff3aaa3f9c61a9cc2795ca..92e36ad5d795372fed3f81769b006cfda067bace 100644 (file)
@@ -283,7 +283,7 @@ bool wxJoystick::IsOk() const
     return (m_device != -1);
 }
 
-int wxJoystick::GetNumberJoysticks() const
+int wxJoystick::GetNumberJoysticks()
 {
     wxString dev_name;
     int fd, j;