X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8be0b4e05e283708b15fe04c9d534a1b649d1cb..4c87eb44c25c2c4d466e129dbd5ed435d583b1bc:/include/wx/dcbuffer.h

diff --git a/include/wx/dcbuffer.h b/include/wx/dcbuffer.h
index 1f0c5a924f..fc9454e4e3 100644
--- a/include/wx/dcbuffer.h
+++ b/include/wx/dcbuffer.h
@@ -12,7 +12,7 @@
 #ifndef _WX_DCBUFFER_H_
 #define _WX_DCBUFFER_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "dcbuffer.h"
 #endif
 
@@ -72,6 +72,8 @@ public:
         // to) is destroyed.
 
     void UnMask();
+
+    DECLARE_NO_COPY_CLASS(wxBufferedDC)
 };