From: Robin Dunn Date: Sun, 20 May 2001 01:21:12 +0000 (+0000) Subject: Since there was no #include before the #if wxUSE_JOYSTICK then nothing X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2b510feb170bff39420e43e1da502b0bfe794b04 Since there was no #include before the #if wxUSE_JOYSTICK then nothing would ever be compiled in this module. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/joystick.cpp b/src/gtk/joystick.cpp index 372046b52f..9994f9a667 100644 --- a/src/gtk/joystick.cpp +++ b/src/gtk/joystick.cpp @@ -12,6 +12,9 @@ #ifdef __GNUG__ #pragma implementation "joystick.h" #endif + +#include + #if wxUSE_JOYSTICK #include @@ -21,9 +24,9 @@ #include #include #include + #include "wx/event.h" #include "wx/window.h" -#include "wx/gtk/joystick.h" #define JOYSTICK_AXE_MAX 32767 #define JOYSTICK_AXE_MIN -32767 diff --git a/src/gtk1/joystick.cpp b/src/gtk1/joystick.cpp index 372046b52f..9994f9a667 100644 --- a/src/gtk1/joystick.cpp +++ b/src/gtk1/joystick.cpp @@ -12,6 +12,9 @@ #ifdef __GNUG__ #pragma implementation "joystick.h" #endif + +#include + #if wxUSE_JOYSTICK #include @@ -21,9 +24,9 @@ #include #include #include + #include "wx/event.h" #include "wx/window.h" -#include "wx/gtk/joystick.h" #define JOYSTICK_AXE_MAX 32767 #define JOYSTICK_AXE_MIN -32767