From a217777fb367f47e8d258af8181ac27f076dc183 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Thu, 24 May 2001 16:07:47 +0000 Subject: [PATCH] added missing check for wxUSE_JOYSTICK git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/joystick.cpp | 5 +++++ src/mac/joystick.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/mac/carbon/joystick.cpp b/src/mac/carbon/joystick.cpp index 6677277f48..49b1e38e94 100644 --- a/src/mac/carbon/joystick.cpp +++ b/src/mac/carbon/joystick.cpp @@ -15,6 +15,8 @@ #include +#if wxUSE_JOYSTICK + IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) // Attributes @@ -277,3 +279,6 @@ bool wxJoystick::ReleaseCapture() return FALSE; } +#endif + // wxUSE_JOYSTICK + diff --git a/src/mac/joystick.cpp b/src/mac/joystick.cpp index 6677277f48..49b1e38e94 100644 --- a/src/mac/joystick.cpp +++ b/src/mac/joystick.cpp @@ -15,6 +15,8 @@ #include +#if wxUSE_JOYSTICK + IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) // Attributes @@ -277,3 +279,6 @@ bool wxJoystick::ReleaseCapture() return FALSE; } +#endif + // wxUSE_JOYSTICK + -- 2.47.2