]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/menuitem.h
rewrote wxFileName::Normalize(), added a few methods, general clean up,
[wxWidgets.git] / include / wx / menuitem.h
index 20f143ed225d02cfd17a37e8fd659d99d711f435..a16e4211716f8225f5cc0373e8a110915f8e8482 100644 (file)
@@ -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);
 };
 
 // ----------------------------------------------------------------------------