]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/joystick.cpp
Misc XRC format docs corrections.
[wxWidgets.git] / src / os2 / joystick.cpp
index 6fef9a01160ea1cf1cf1eb5e3cfa9df056649fee..d12fa211bec0020706ff8e6bfdcbb8ee90863539 100644 (file)
@@ -4,28 +4,28 @@
 // Author:      David Webster
 // Modified by:
 // Created:     10/09/99
-// RCS-ID:      $Id$
 // Copyright:   (c) David Webster
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-//
 // For compilers that support precompilation, includes "wx.h".
-//
 #include "wx/wxprec.h"
 
 #if wxUSE_JOYSTICK
 
-#include "wx/string.h"
+#include "wx/joystick.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/string.h"
+    #include "wx/window.h"
+#endif
+
 #define INCL_PM
 #define INCL_DOS
 #include "wx/os2/private.h"
 
 #define NO_JOYGETPOSEX
 
-#include "wx/window.h"
-#include "wx/joystick.h"
-
 IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
 
 // Attributes
@@ -287,4 +287,5 @@ bool wxJoystick::ReleaseCapture()
     // TODO
     return false;
 }
+
 #endif  // wxUSE_JOYSTICK