]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/enhmeta.h
wxID_PREFERENCES added for the preferences menu item
[wxWidgets.git] / include / wx / msw / enhmeta.h
index 13c668029d3a6ef5903696a5991d1f5628e6cceb..0d4689648c55573d4fc74a4c3683eeecf07c7159 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_MSW_ENHMETA_H_
 #define _WX_MSW_ENHMETA_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "enhmeta.h"
 #endif
 
@@ -91,7 +91,7 @@ public:
     wxEnhMetaFile *Close();
 
 private:
-    DECLARE_DYNAMIC_CLASS(wxEnhMetaFileDC)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxEnhMetaFileDC)
 };
 
 #if wxUSE_DRAG_AND_DROP
@@ -128,6 +128,8 @@ public:
 
 protected:
     wxEnhMetaFile m_metafile;
+
+    DECLARE_NO_COPY_CLASS(wxEnhMetaFileDataObject)
 };
 
 
@@ -160,6 +162,8 @@ public:
 
 protected:
     wxEnhMetaFile m_metafile;
+
+    DECLARE_NO_COPY_CLASS(wxEnhMetaFileSimpleDataObject)
 };
 
 #endif // wxUSE_DRAG_AND_DROP