]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/stattext.h
Move wxGetOSFHandle to include/wx/msw/private.h since it needs HANDLE anyway
[wxWidgets.git] / include / wx / msw / stattext.h
index 311f731f5564ed672e21323bdc3f0a841ca784a0..0ceef4c977a417ba06fc1e6a90e8e7ddb1b1b7b6 100644 (file)
@@ -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