X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c5fbe2a792c629a297111d03abde5edf6161873..b1d7de5ae0c53162b57ac20cfed04264f0f27b30:/src/cocoa/toolbar.mm diff --git a/src/cocoa/toolbar.mm b/src/cocoa/toolbar.mm index a72e61cde4..94407fff8e 100644 --- a/src/cocoa/toolbar.mm +++ b/src/cocoa/toolbar.mm @@ -71,9 +71,9 @@ protected: - (void)wxNSActionCellAction: (id)sender { - wxLogDebug("wxNSActionCellAction"); + wxLogTrace(wxTRACE_COCOA,wxT("wxNSActionCellAction")); wxCocoaNSActionCell *wxcontrol = wxCocoaNSActionCell::GetFromCocoa(sender); - wxCHECK_RET(wxcontrol,"wxNSActionCellAction received but no wxCocoaNSActionCell exists!"); + wxCHECK_RET(wxcontrol,wxT("wxNSActionCellAction received but no wxCocoaNSActionCell exists!")); wxcontrol->CocoaTarget_wxNSActionCellAction(); } @@ -297,7 +297,7 @@ bool wxToolBar::Cocoa_mouseDragged(WX_NSEvent theEvent) untilMouseUp:NO]) { m_mouseDownTool = NULL; - wxLogDebug("Button was clicked after drag!"); + wxLogTrace(wxTRACE_COCOA,wxT("Button was clicked after drag!")); } [buttonCell setHighlighted: NO]; } @@ -320,7 +320,7 @@ bool wxToolBar::Cocoa_mouseDown(WX_NSEvent theEvent) untilMouseUp:NO]) { m_mouseDownTool = NULL; - wxLogDebug("Button was clicked!"); + wxLogTrace(wxTRACE_COCOA,wxT("Button was clicked!")); } [buttonCell setHighlighted: NO]; }