]> git.saurik.com Git - wxWidgets.git/commitdiff
Since there was no #include before the #if wxUSE_JOYSTICK then nothing
authorRobin Dunn <robin@alldunn.com>
Sun, 20 May 2001 01:21:12 +0000 (01:21 +0000)
committerRobin Dunn <robin@alldunn.com>
Sun, 20 May 2001 01:21:12 +0000 (01:21 +0000)
would ever be compiled in this module.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/joystick.cpp
src/gtk1/joystick.cpp

index 372046b52f2b21e9ed8f8eadbb865b2b792acec1..9994f9a66706398e713a9a0a383ace1ee992b46f 100644 (file)
@@ -12,6 +12,9 @@
 #ifdef __GNUG__
 #pragma implementation "joystick.h"
 #endif
+
+#include <wx/joystick.h>
+
 #if wxUSE_JOYSTICK
 
 #include <linux/joystick.h>
@@ -21,9 +24,9 @@
 #include <sys/ioctl.h>
 #include <fcntl.h>
 #include <unistd.h>
+
 #include "wx/event.h"
 #include "wx/window.h"
-#include "wx/gtk/joystick.h"
 
 #define JOYSTICK_AXE_MAX 32767
 #define JOYSTICK_AXE_MIN -32767
index 372046b52f2b21e9ed8f8eadbb865b2b792acec1..9994f9a66706398e713a9a0a383ace1ee992b46f 100644 (file)
@@ -12,6 +12,9 @@
 #ifdef __GNUG__
 #pragma implementation "joystick.h"
 #endif
+
+#include <wx/joystick.h>
+
 #if wxUSE_JOYSTICK
 
 #include <linux/joystick.h>
@@ -21,9 +24,9 @@
 #include <sys/ioctl.h>
 #include <fcntl.h>
 #include <unistd.h>
+
 #include "wx/event.h"
 #include "wx/window.h"
-#include "wx/gtk/joystick.h"
 
 #define JOYSTICK_AXE_MAX 32767
 #define JOYSTICK_AXE_MIN -32767