#ifndef _WX_STATTEXT_H_
#define _WX_STATTEXT_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "stattext.h"
#endif
virtual wxSize DoGetBestSize() const;
virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const;
- DECLARE_DYNAMIC_CLASS(wxStaticText)
+
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticText)
};
#endif