X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f1cf28c2ed427516d67e89c4f9bd589335234c0..c45b7e75d1833c93200ca2d4e518954e48ec936e:/include/wx/msw/slider95.h?ds=sidebyside diff --git a/include/wx/msw/slider95.h b/include/wx/msw/slider95.h index 5c1d103e02..d1efb04d8c 100644 --- a/include/wx/msw/slider95.h +++ b/include/wx/msw/slider95.h @@ -12,7 +12,7 @@ #ifndef _SLIDER95_H_ #define _SLIDER95_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "slider95.h" #endif @@ -101,7 +101,7 @@ protected: int width, int height, int sizeFlags = wxSIZE_AUTO); - DECLARE_DYNAMIC_CLASS(wxSlider95) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxSlider95) }; #endif