]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/toolbar.mm
fix for get best size when having empty labels
[wxWidgets.git] / src / cocoa / toolbar.mm
index a72e61cde45274ca090cc11be495e0a010c45b65..94407fff8e02913e77c3bbc5f2124ed1802d0411 100644 (file)
@@ -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];
         }