X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..93ed8ff7707eec179cf99f2f2f3c36f27916b068:/include/wx/msw/stattext.h diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index 80d3f50a54..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,6 +52,7 @@ protected: virtual wxSize DoGetBestSize() const; virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const; + DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticText) };