X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe4a107dda9021ed2cdbeda0fcb2d7c02bbfa963..f2aa588ba5c2e316d87105da86e0ebe8bbeac5df:/src/cocoa/menu.mm?ds=sidebyside diff --git a/src/cocoa/menu.mm b/src/cocoa/menu.mm index d8ed61c0a7..2d662e4111 100644 --- a/src/cocoa/menu.mm +++ b/src/cocoa/menu.mm @@ -106,7 +106,7 @@ wxMenuBar::~wxMenuBar() bool wxMenuBar::Append( wxMenu *menu, const wxString &title ) { wxAutoNSAutoreleasePool pool; - wxLogDebug(wxT("append menu=%p, title=%s"),menu,title.c_str()); + wxLogTrace(wxTRACE_COCOA,wxT("append menu=%p, title=%s"),menu,title.c_str()); if(!wxMenuBarBase::Append(menu,title)) return false; wxASSERT(menu); @@ -126,7 +126,7 @@ bool wxMenuBar::Append( wxMenu *menu, const wxString &title ) bool wxMenuBar::Insert(size_t pos, wxMenu *menu, const wxString& title) { wxAutoNSAutoreleasePool pool; - wxLogDebug(wxT("insert pos=%lu, menu=%p, title=%s"),pos,menu,title.c_str()); + 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); if(!wxMenuBarBase::Insert(pos,menu,title))