X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cc1d4ff2a0c78666f35bbfa34fcc609d7862709..26531700c7ec84872c60899ce6219954499086da:/include/wx/motif/slider.h

diff --git a/include/wx/motif/slider.h b/include/wx/motif/slider.h
index 7da780dec0..f46acf7dba 100644
--- a/include/wx/motif/slider.h
+++ b/include/wx/motif/slider.h
@@ -12,7 +12,7 @@
 #ifndef _WX_SLIDER_H_
 #define _WX_SLIDER_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "slider.h"
 #endif