X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65bc172c9776514d64ced1317709202ee4123cd8..4b17d2e361e22202f7c1be6e0babcc261261d686:/include/wx/msw/stattext.h diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index 311f731f55..0ceef4c977 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,7 @@ 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