X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cbff1201aa47e2b73ec90a97886f18e88270ea6..ae54422d9d02ebd0a244998ef9117beff1432268:/include/wx/msw/dcprint.h diff --git a/include/wx/msw/dcprint.h b/include/wx/msw/dcprint.h index 245a6a49be..68e1e2d10c 100644 --- a/include/wx/msw/dcprint.h +++ b/include/wx/msw/dcprint.h @@ -12,7 +12,7 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcprint.h" #endif @@ -52,7 +52,7 @@ protected: wxPrintData m_printData; private: - DECLARE_CLASS(wxPrinterDC) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxPrinterDC) }; // Gets an HDC for the default printer configuration