]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/joystick.cpp
Added DrawComboBoxDropButton and DrawPushButton to wxRendererNative
[wxWidgets.git] / src / mac / carbon / joystick.cpp
index 7e38a7e75c24db9a624571717f773fa3a2f04dc9..c56cf2001ac456c465ae792df6327c7c10f3b046 100644 (file)
@@ -6,18 +6,16 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:       wxWidgets licence
+// Licence:       wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-#pragma implementation "joystick.h"
-#endif
+#include "wx/wxprec.h"
 
-#include "wx/setup.h"
+#if wxUSE_JOYSTICK
 
-#include "wx/joystick.h"
+#if !defined (__WXMAC_OSX__)
 
-#if wxUSE_JOYSTICK
+#include "wx/joystick.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
 
@@ -92,7 +90,7 @@ bool wxJoystick::IsOk() const
     return FALSE;
 }
 
-int wxJoystick::GetNumberJoysticks() const
+int wxJoystick::GetNumberJoysticks()
 {
     // TODO
     return 0;
@@ -281,6 +279,8 @@ bool wxJoystick::ReleaseCapture()
     return FALSE;
 }
 
+#endif 
+    // !OSX
 #endif
     // wxUSE_JOYSTICK