]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcbuffer.h
Add wxBitmap::GetNSImage() which creates an autoreleased NSImage either
[wxWidgets.git] / include / wx / dcbuffer.h
index 51682aad1ae52671ac0a1fd50b1db7aba09a0487..2b5ef0bd096f71c17a7b0a866d17d2b0a9000fa5 100644 (file)
 #ifndef _WX_DCBUFFER_H_
 #define _WX_DCBUFFER_H_
 
 #ifndef _WX_DCBUFFER_H_
 #define _WX_DCBUFFER_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dcbuffer.h"
 #endif
 
 #include "wx/dcmemory.h"
 #pragma interface "dcbuffer.h"
 #endif
 
 #include "wx/dcmemory.h"
+#include "wx/dcclient.h"
 
 
 // ==============================================================
 //   Double buffering helper.
 // --------------------------------------------------------------
 
 
 
 // ==============================================================
 //   Double buffering helper.
 // --------------------------------------------------------------
 
-class WXDLLEXPORT wxBufferedDC : public wxMemoryDC
+class WXDLLIMPEXP_ADV wxBufferedDC : public wxMemoryDC
 {
 private:
 
 {
 private:
 
@@ -72,6 +73,8 @@ public:
         // to) is destroyed.
 
     void UnMask();
         // to) is destroyed.
 
     void UnMask();
+
+    DECLARE_NO_COPY_CLASS(wxBufferedDC)
 };
 
 
 };
 
 
@@ -82,7 +85,7 @@ public:
 // Creates a double buffered wxPaintDC, optionally allowing the
 // user to specify their own buffer to use.
 
 // Creates a double buffered wxPaintDC, optionally allowing the
 // user to specify their own buffer to use.
 
-class WXDLLEXPORT wxBufferedPaintDC : public wxBufferedDC
+class WXDLLIMPEXP_ADV wxBufferedPaintDC : public wxBufferedDC
 {
 private:
 
 {
 private:
 
@@ -95,9 +98,10 @@ public:
     // default copy ctor ok.
 
     ~wxBufferedPaintDC();
     // default copy ctor ok.
 
     ~wxBufferedPaintDC();
+
+    DECLARE_NO_COPY_CLASS(wxBufferedPaintDC)
 };
 
 
 #endif  // _WX_DCBUFFER_H_
 
 };
 
 
 #endif  // _WX_DCBUFFER_H_
 
-// vi:sts=4:sw=4:et