X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65bc172c9776514d64ced1317709202ee4123cd8..48f7ffbe93ab587c54643e2476b0e3b0c74e1386:/include/wx/msw/stattext.h diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index 311f731f55..6194187606 100644 --- a/include/wx/msw/stattext.h +++ b/include/wx/msw/stattext.h @@ -12,7 +12,7 @@ #ifndef _WX_STATTEXT_H_ #define _WX_STATTEXT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "stattext.h" #endif @@ -52,7 +52,8 @@ protected: virtual wxSize DoGetBestSize() const; virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const; - DECLARE_DYNAMIC_CLASS(wxStaticText) + + DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticText) }; #endif