X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..8f2b1cfd3942412889d9f7e2fd2efe27e2d049c1:/include/wx/msw/checkbox.h diff --git a/include/wx/msw/checkbox.h b/include/wx/msw/checkbox.h index 57603fc9a0..f3504693bc 100644 --- a/include/wx/msw/checkbox.h +++ b/include/wx/msw/checkbox.h @@ -12,7 +12,7 @@ #ifndef _WX_CHECKBOX_H_ #define _WX_CHECKBOX_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "checkbox.h" #endif @@ -54,7 +54,7 @@ protected: virtual wxSize DoGetBestSize() const; private: - DECLARE_DYNAMIC_CLASS(wxCheckBox) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxCheckBox) }; #endif