]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/dc.h
Use wxClientDataDictionary for client data.
[wxWidgets.git] / include / wx / mac / dc.h
index ead1ae68d96415f8220f8a2cf316ac3d29b0a79a..679130d65bc2478b4c7618b720d3130f7411e2fa 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DC_H_
 #define _WX_DC_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "dc.h"
 #endif
 
@@ -50,7 +50,8 @@ class wxMacPortStateHelper ;
 
 class WXDLLEXPORT wxDC: public wxDCBase
 {
-  DECLARE_DYNAMIC_CLASS(wxDC)
+    DECLARE_DYNAMIC_CLASS(wxDC)
+    DECLARE_NO_COPY_CLASS(wxDC)
 
   public: