- wxLogDebug("insert pos=%lu, menu=%p, title=%s",pos,menu,title.c_str());
+ wxAutoNSAutoreleasePool pool;
+ wxLogTrace(wxTRACE_COCOA,wxT("insert pos=%lu, menu=%p, title=%s"),pos,menu,title.c_str());
+ // Get the current menu at this position
+ wxMenu *nextmenu = GetMenu(pos);