]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/joystick.cpp
wxAUI: Do not leak a wxFrame if transparency is not supported
[wxWidgets.git] / src / unix / joystick.cpp
index c60b06b7589a3f9ea3af86c326d40706f5832e3a..49a4cad688e7349d9cfaf6381fba283e21859f08 100644 (file)
 
 #include "wx/joystick.h"
 
+#ifndef WX_PRECOMP
+    #include "wx/event.h"
+    #include "wx/window.h"
+#endif //WX_PRECOMP
+
 #include <linux/joystick.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -24,8 +29,6 @@
 #include <fcntl.h>
 #include <unistd.h>
 
-#include "wx/event.h"
-#include "wx/window.h"
 #include "wx/unix/private.h"
 
 enum {