X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0510b4bbee2973813458c4a20379e1f24bc605d6..478ba84485d00d0d9a80ce3304f226355f457471:/include/wx/msw/spinbutt.h?ds=inline diff --git a/include/wx/msw/spinbutt.h b/include/wx/msw/spinbutt.h index 295ea3867d..6e1931bfa3 100644 --- a/include/wx/msw/spinbutt.h +++ b/include/wx/msw/spinbutt.h @@ -12,7 +12,7 @@ #ifndef _WX_SPINBUTT_H_ #define _WX_SPINBUTT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "spinbutt.h" #endif @@ -63,7 +63,7 @@ protected: virtual wxSize DoGetBestSize() const; private: - DECLARE_DYNAMIC_CLASS(wxSpinButton) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxSpinButton) }; #endif