From 7af206c1c4169d5accc1f7b2b3dfc7adb079b9f0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 20 Jan 2000 22:34:48 +0000 Subject: [PATCH] added wxMenuITemBase copy ctor decl apparently needed under FreeBSD git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/menuitem.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/wx/menuitem.h b/include/wx/menuitem.h index 20f143ed22..a16e421171 100644 --- a/include/wx/menuitem.h +++ b/include/wx/menuitem.h @@ -111,6 +111,12 @@ protected: // some compilers need a default constructor here, do not remove wxMenuItemBase() { } + +private: + // and, if we have one ctor, compiler won't generate a default copy one, so + // declare them ourselves - but don't implement as they shouldn't be used + wxMenuItemBase(const wxMenuItemBase& item); + wxMenuItemBase& operator=(const wxMenuItemBase& item); }; // ----------------------------------------------------------------------------