]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/joystick.cpp
workaround for blocking behaviour under carbon when running in classic
[wxWidgets.git] / src / x11 / joystick.cpp
index b9b6fae1d03d145225ad2855f4b50444123f3652..a21ce29b229de24f5860ed23698c366e52e7784e 100644 (file)
@@ -9,11 +9,11 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "joystick.h"
 #endif
 
-// Not implemented in wxMotif
+// Not implemented in X11
 #if 0
 
 #include "wx/joystick.h"