From 0068a2c4993aaedf3e8575d0f841833fe61b81cf Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 27 Sep 2011 07:21:44 +0000 Subject: [PATCH] giving in on native undo integration, as we don't have a NSUndoManager, fixes #13431 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/menuitem.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osx/cocoa/menuitem.mm b/src/osx/cocoa/menuitem.mm index a25ee8bcfa..0c6c930e32 100644 --- a/src/osx/cocoa/menuitem.mm +++ b/src/osx/cocoa/menuitem.mm @@ -33,8 +33,11 @@ struct Mapping Mapping sActionToWXMapping[] = { +// as we don't have NSUndoManager support we must not use the native actions +#if 0 { wxID_UNDO, @selector(undo:) }, { wxID_REDO, @selector(redo:) }, +#endif { wxID_CUT, @selector(cut:) }, { wxID_COPY, @selector(copy:) }, { wxID_PASTE, @selector(paste:) }, -- 2.50.0