X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d6a432423247c0c186a69ce82b0490c1f4e3ca1..7c11806499166993dffcbb99139d5b248a2c6c82:/include/wx/msw/minifram.h?ds=sidebyside diff --git a/include/wx/msw/minifram.h b/include/wx/msw/minifram.h index 451ed9a8a8..ac32099044 100644 --- a/include/wx/msw/minifram.h +++ b/include/wx/msw/minifram.h @@ -12,7 +12,7 @@ #ifndef _WX_MINIFRAM_H_ #define _WX_MINIFRAM_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "minifram.h" #endif @@ -49,7 +49,7 @@ public: } protected: - DECLARE_DYNAMIC_CLASS(wxMiniFrame) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxMiniFrame) }; #endif