#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 wxBufferedDC : public wxMemoryDC
+class WXDLLIMPEXP_ADV wxBufferedDC : public wxMemoryDC
{
private:
// to) is destroyed.
void UnMask();
+
+ DECLARE_NO_COPY_CLASS(wxBufferedDC)
};
// Creates a double buffered wxPaintDC, optionally allowing the
// user to specify their own buffer to use.
-class wxBufferedPaintDC : public wxBufferedDC
+class WXDLLIMPEXP_ADV wxBufferedPaintDC : public wxBufferedDC
{
private:
// default copy ctor ok.
~wxBufferedPaintDC();
+
+ DECLARE_NO_COPY_CLASS(wxBufferedPaintDC)
};
#endif // _WX_DCBUFFER_H_
-// vi:sts=4:sw=4:et