X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67e2efca87e3d3142ca545d9855748da15eac894..903972f99993e6f31a31b66d1866f6fc982a1c43:/include/wx/dcbuffer.h diff --git a/include/wx/dcbuffer.h b/include/wx/dcbuffer.h index ebb7bd1751..fc9454e4e3 100644 --- a/include/wx/dcbuffer.h +++ b/include/wx/dcbuffer.h @@ -12,7 +12,7 @@ #ifndef _WX_DCBUFFER_H_ #define _WX_DCBUFFER_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dcbuffer.h" #endif @@ -23,7 +23,7 @@ // Double buffering helper. // -------------------------------------------------------------- -class wxBufferedDC : public wxMemoryDC +class WXDLLEXPORT wxBufferedDC : public wxMemoryDC { private: @@ -72,6 +72,8 @@ public: // to) is destroyed. void UnMask(); + + DECLARE_NO_COPY_CLASS(wxBufferedDC) }; @@ -82,7 +84,7 @@ public: // 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: