X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b59cdbfaf7df79499424c92ff6177736429ff8a..5527476f67f7313aeea0d16b2fe366e5a5ddb493:/include/wx/menuitem.h 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); }; // ----------------------------------------------------------------------------