X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aeb500e64cfc83781e462b68feae19118b9cb105..1b52f7aba0dce7c2a1d26d41a930856b93b02870:/include/wx/dcbuffer.h diff --git a/include/wx/dcbuffer.h b/include/wx/dcbuffer.h index 431dd95cfc..2b5ef0bd09 100644 --- a/include/wx/dcbuffer.h +++ b/include/wx/dcbuffer.h @@ -12,7 +12,7 @@ #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 @@ -24,7 +24,7 @@ // Double buffering helper. // -------------------------------------------------------------- -class WXDLLEXPORT wxBufferedDC : public wxMemoryDC +class WXDLLIMPEXP_ADV wxBufferedDC : public wxMemoryDC { private: @@ -85,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: @@ -98,6 +98,8 @@ public: // default copy ctor ok. ~wxBufferedPaintDC(); + + DECLARE_NO_COPY_CLASS(wxBufferedPaintDC) };