X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3080bf599a2422855b0a83726413605f842c9545..ab6e49136690b92c4879f8f964f7523a775dc7ee:/include/wx/tbarsmpl.h diff --git a/include/wx/tbarsmpl.h b/include/wx/tbarsmpl.h index 7d68984022..4e8976e08b 100644 --- a/include/wx/tbarsmpl.h +++ b/include/wx/tbarsmpl.h @@ -12,7 +12,7 @@ #ifndef _WX_TBARSMPLH__ #define _WX_TBARSMPLH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tbarsmpl.h" #endif @@ -164,7 +164,7 @@ protected: private: DECLARE_EVENT_TABLE() - DECLARE_DYNAMIC_CLASS(wxToolBarSimple) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxToolBarSimple) }; #endif // wxUSE_TOOLBAR_SIMPLE