]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/joystick.h
fixed virtual function hiding for LoadBitmap()
[wxWidgets.git] / include / wx / x11 / joystick.h
index 7148fcd4c9ce7f0e35a4c0f0a6b368ba4b978c62..b4d3024919230a06446de7ea3d08f06795ea649a 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(NO_GCC_PRAGMA)
 #pragma interface "joystick.h"
 #endif
 
 #pragma interface "joystick.h"
 #endif