]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/joystick.cpp
Compile fix for Universal
[wxWidgets.git] / src / palmos / joystick.cpp
index cfceba1191cd5967c95ca65da5530f4e569b0960..01a44cd3e3c20f7dc97b6b3f49dc92911d71b625 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
+#if wxUSE_JOYSTICK
+
+#include "wx/joystick.h"
 
-#include "wx/string.h"
-#include "wx/window.h"
-#include "wx/palmos/joystick.h"
+#ifndef WX_PRECOMP
+    #include "wx/string.h"
+    #include "wx/window.h"
+#endif
 
 IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
 
@@ -27,7 +28,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
 
 wxJoystick::wxJoystick(int joystick)
 {
-};
+}
 
 wxPoint wxJoystick::GetPosition() const
 {
@@ -245,3 +246,4 @@ bool wxJoystick::ReleaseCapture()
     return false;
 }
 
+#endif  // wxUSE_JOYSTICK