X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9e2e4c2425b8338ff6e6cd2fb62438c9fb2a12b..b9505233a5e5ee77c15e0d1dd2f8f6422af1e74c:/include/wx/tbarsmpl.h diff --git a/include/wx/tbarsmpl.h b/include/wx/tbarsmpl.h index 3c602d9154..b2522caca5 100644 --- a/include/wx/tbarsmpl.h +++ b/include/wx/tbarsmpl.h @@ -18,7 +18,7 @@ #include "wx/tbarbase.h" -#if wxUSE_TOOLBAR_SIMPLE +#if wxUSE_TOOLBAR && wxUSE_TOOLBAR_SIMPLE class WXDLLEXPORT wxMemoryDC; @@ -164,7 +164,7 @@ protected: private: DECLARE_EVENT_TABLE() - DECLARE_DYNAMIC_CLASS(wxToolBarSimple) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxToolBarSimple) }; #endif // wxUSE_TOOLBAR_SIMPLE