X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b0c0a393c4027a46b83187ea1328949ca75971d0..3ca4086b22723db16d7e0fc23aa9021b4785096a:/src/cocoa/menuitem.mm?ds=sidebyside diff --git a/src/cocoa/menuitem.mm b/src/cocoa/menuitem.mm index a8795fe053..fdc0620a3e 100644 --- a/src/cocoa/menuitem.mm +++ b/src/cocoa/menuitem.mm @@ -55,7 +55,7 @@ - (void)wxMenuItemAction: (id)sender { - wxLogDebug(wxT("wxMenuItemAction")); + wxLogTrace(wxTRACE_COCOA,wxT("wxMenuItemAction")); wxMenuItem *item = wxMenuItem::GetFromCocoa(sender); wxCHECK_RET(item,wxT("wxMenuItemAction received but no wxMenuItem exists!")); @@ -73,7 +73,7 @@ - (BOOL)validateMenuItem: (id)menuItem { // TODO: Do wxWindows validation here and avoid sending during idle time - wxLogDebug(wxT("wxMenuItemAction")); + wxLogTrace(wxTRACE_COCOA,wxT("wxMenuItemAction")); wxMenuItem *item = wxMenuItem::GetFromCocoa(menuItem); wxCHECK_MSG(item,NO,wxT("validateMenuItem received but no wxMenuItem exists!")); return item->IsEnabled();