X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93e73c740e6cdd6d498439aeb731fe5f3e75ea8d..1aebc2005735ac58e3cf3de0c61e08a64e6af9ea:/include/wx/motif/slider.h

diff --git a/include/wx/motif/slider.h b/include/wx/motif/slider.h
index d8b8d9f5d5..f46acf7dba 100644
--- a/include/wx/motif/slider.h
+++ b/include/wx/motif/slider.h
@@ -12,14 +12,12 @@
 #ifndef _WX_SLIDER_H_
 #define _WX_SLIDER_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "slider.h"
 #endif
 
 #include "wx/control.h"
 
-WXDLLEXPORT_DATA(extern const char*) wxSliderNameStr;
-
 // Slider
 class WXDLLEXPORT wxSlider: public wxSliderBase
 {