]> git.saurik.com Git - wxWidgets.git/commitdiff
giving in on native undo integration, as we don't have a NSUndoManager, fixes #13431
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 27 Sep 2011 07:21:44 +0000 (07:21 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 27 Sep 2011 07:21:44 +0000 (07:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/menuitem.mm

index a25ee8bcfa2df01f59df22f368fc1647f7e0b20a..0c6c930e32d91c516851e6c8ad00452e127c3b3d 100644 (file)
@@ -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:) },