X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9576ca53db96b462ed4c0b4bdf47d64c40203e4..807c0706e65d6d67b15d2acc53b0d41b6654c711:/src/mac/carbon/joystick.cpp diff --git a/src/mac/carbon/joystick.cpp b/src/mac/carbon/joystick.cpp index 6677277f48..83ef3bf68d 100644 --- a/src/mac/carbon/joystick.cpp +++ b/src/mac/carbon/joystick.cpp @@ -1,19 +1,25 @@ ///////////////////////////////////////////////////////////////////////////// // 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__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "joystick.h" #endif -#include +#include "wx/wxprec.h" + +#if wxUSE_JOYSTICK + +#if !defined (__WXMAC_OSX__) + +#include "wx/joystick.h" IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) @@ -109,7 +115,7 @@ int wxJoystick::GetProductId() const wxString wxJoystick::GetProductName() const { // TODO - return wxString(""); + return wxString(wxT("")); } int wxJoystick::GetXMin() const @@ -277,3 +283,8 @@ bool wxJoystick::ReleaseCapture() return FALSE; } +#endif + // !OSX +#endif + // wxUSE_JOYSTICK +