]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/joystick.h
Commented out wxAutoNSAutoreleasePool in CallOnInit()
[wxWidgets.git] / include / wx / x11 / joystick.h
index 7148fcd4c9ce7f0e35a4c0f0a6b368ba4b978c62..cf3b0313a223163291726b3fb5ab4f022be62b2e 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_JOYSTICK_H_
 #define _WX_JOYSTICK_H_
 
 #ifndef _WX_JOYSTICK_H_
 #define _WX_JOYSTICK_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "joystick.h"
 #endif
 
 #pragma interface "joystick.h"
 #endif