]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/joystick.cpp
Doc corrections
[wxWidgets.git] / src / unix / joystick.cpp
index 710841201ad5f68b084d0cc5614939fb26879240..2ea86f9a8d99d128a6e461342a7c5df9fb690edf 100644 (file)
@@ -9,10 +9,13 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "joystick.h"
 #endif
 
+// for compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/defs.h"
 
 #if wxUSE_JOYSTICK