X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d497dca47560bb375902c2a261d819e7470a92b3..59abfcf813ccca7366bfb6d830e1251be5514ac7:/src/mac/carbon/joystick.cpp diff --git a/src/mac/carbon/joystick.cpp b/src/mac/carbon/joystick.cpp index bfe4ee3533..c56cf2001a 100644 --- a/src/mac/carbon/joystick.cpp +++ b/src/mac/carbon/joystick.cpp @@ -1,23 +1,21 @@ ///////////////////////////////////////////////////////////////////////////// // Name: joystick.cpp // Purpose: wxJoystick class -// Author: AUTHOR +// Author: Stefan Csomor // Modified by: -// Created: ??/??/98 +// Created: 1998-01-01 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR -// Licence: wxWindows licence +// Copyright: (c) Stefan Csomor +// 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; @@ -113,7 +111,7 @@ int wxJoystick::GetProductId() const wxString wxJoystick::GetProductName() const { // TODO - return wxString(""); + return wxString(wxT("")); } int wxJoystick::GetXMin() const @@ -281,6 +279,8 @@ bool wxJoystick::ReleaseCapture() return FALSE; } +#endif + // !OSX #endif - // wxUSE_JOYSTICK + // wxUSE_JOYSTICK