]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/menuitem.mm
corrected SF bug #809314: wxDynamicLibrary::ms_dllext definition for wxMac
[wxWidgets.git] / src / cocoa / menuitem.mm
index 67af3fde333ba7e0ee6be9663ec6a644ad0f823c..e5e5e7659d0b9ce07214bf9a496ced42c9f9cf04 100644 (file)
@@ -65,7 +65,7 @@
     {
         wxFrame *frame = menubar->GetFrame();
         wxCHECK_RET(frame, "wxMenuBar MUST be attached to a wxFrame!");
-        frame->Command(item->GetId());
+        frame->ProcessCommand(item->GetId());
     }
 }