X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8be0b4e05e283708b15fe04c9d534a1b649d1cb..b6e2eddeaf7e559589ce41ac41e88f9bd71c5a08:/include/wx/dcbuffer.h diff --git a/include/wx/dcbuffer.h b/include/wx/dcbuffer.h index 1f0c5a924f..2b5ef0bd09 100644 --- a/include/wx/dcbuffer.h +++ b/include/wx/dcbuffer.h @@ -12,18 +12,19 @@ #ifndef _WX_DCBUFFER_H_ #define _WX_DCBUFFER_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcbuffer.h" #endif #include "wx/dcmemory.h" +#include "wx/dcclient.h" // ============================================================== // Double buffering helper. // -------------------------------------------------------------- -class WXDLLEXPORT wxBufferedDC : public wxMemoryDC +class WXDLLIMPEXP_ADV wxBufferedDC : public wxMemoryDC { private: @@ -72,6 +73,8 @@ public: // 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. -class WXDLLEXPORT wxBufferedPaintDC : public wxBufferedDC +class WXDLLIMPEXP_ADV wxBufferedPaintDC : public wxBufferedDC { private: @@ -95,9 +98,10 @@ public: // default copy ctor ok. ~wxBufferedPaintDC(); + + DECLARE_NO_COPY_CLASS(wxBufferedPaintDC) }; #endif // _WX_DCBUFFER_H_ -// vi:sts=4:sw=4:et