X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/41ff8313b82afe2e874a17fd3db9d4a86342f070..f194560ed883138350643eb556f766814c409afc:/include/wx/msw/dcscreen.h diff --git a/include/wx/msw/dcscreen.h b/include/wx/msw/dcscreen.h index 3517e78b61..f45f903d06 100644 --- a/include/wx/msw/dcscreen.h +++ b/include/wx/msw/dcscreen.h @@ -12,7 +12,7 @@ #ifndef _WX_DCSCREEN_H_ #define _WX_DCSCREEN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcscreen.h" #endif @@ -33,7 +33,7 @@ protected: virtual void DoGetSize(int *width, int *height) const; private: - DECLARE_DYNAMIC_CLASS(wxScreenDC) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxScreenDC) }; #endif