#ifndef _WX_DCBUFFER_H_
#define _WX_DCBUFFER_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "dcbuffer.h"
#endif
// Double buffering helper.
// --------------------------------------------------------------
-class wxBufferedDC : public wxMemoryDC
+class WXDLLEXPORT 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 WXDLLEXPORT wxBufferedPaintDC : public wxBufferedDC
{
private: