]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/slider95.h
Added RTTI
[wxWidgets.git] / include / wx / msw / slider95.h
index 5c1d103e02225dbe91cb9f68b0847db9f2884270..d1efb04d8c96123d084eb4a7d6de7049a25f2d8d 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _SLIDER95_H_
 #define _SLIDER95_H_
 
 #ifndef _SLIDER95_H_
 #define _SLIDER95_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "slider95.h"
 #endif
 
 #pragma interface "slider95.h"
 #endif
 
@@ -101,7 +101,7 @@ protected:
                            int width, int height,
                            int sizeFlags = wxSIZE_AUTO);
 
                            int width, int height,
                            int sizeFlags = wxSIZE_AUTO);
 
-    DECLARE_DYNAMIC_CLASS(wxSlider95)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxSlider95)
 };
 
 #endif
 };
 
 #endif