X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ba4fbebbc40bdf9c140f4c9ba9977fbf810527d..63e2147c8b027645682e0e4cd013a3f30bbd3483:/include/wx/msw/dcmemory.h diff --git a/include/wx/msw/dcmemory.h b/include/wx/msw/dcmemory.h index 01f37663aa..19ad43e384 100644 --- a/include/wx/msw/dcmemory.h +++ b/include/wx/msw/dcmemory.h @@ -12,7 +12,7 @@ #ifndef _WX_DCMEMORY_H_ #define _WX_DCMEMORY_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcmemory.h" #endif @@ -38,7 +38,7 @@ protected: void Init(); private: - DECLARE_DYNAMIC_CLASS(wxMemoryDC) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxMemoryDC) }; #endif