X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ba4fbebbc40bdf9c140f4c9ba9977fbf810527d..4ad7af2b83d24c75a0cdf32c7e5ee1c2cc4dd543:/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