]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/spinbutt.h
Don't infinitely recurse when setting the child focus. Without
[wxWidgets.git] / include / wx / motif / spinbutt.h
index 756b210e03782b711aed049bde29030cf8e33bdf..b2bef6bb0c456ace90055f7e465608500c8814ac 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_SPINBUTT_H_
 #define _WX_SPINBUTT_H_
 
 #ifndef _WX_SPINBUTT_H_
 #define _WX_SPINBUTT_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "spinbutt.h"
 #endif
 
 #pragma interface "spinbutt.h"
 #endif