From: Stefan Csomor Date: Tue, 27 Sep 2011 07:21:44 +0000 (+0000) Subject: giving in on native undo integration, as we don't have a NSUndoManager, fixes #13431 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0068a2c4993aaedf3e8575d0f841833fe61b81cf 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 --- 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:) },