]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/toolbar.mm
really show the window after creation (calling Show(TRUE) doesn't do it any more)
[wxWidgets.git] / src / cocoa / toolbar.mm
index 0f7e02c01dd37cb9ab8287c8eb34a8c8c5e7dc47..94407fff8e02913e77c3bbc5f2124ed1802d0411 100644 (file)
@@ -71,7 +71,7 @@ protected:
 
 - (void)wxNSActionCellAction: (id)sender
 {
 
 - (void)wxNSActionCellAction: (id)sender
 {
-    wxLogDebug(wxT("wxNSActionCellAction"));
+    wxLogTrace(wxTRACE_COCOA,wxT("wxNSActionCellAction"));
     wxCocoaNSActionCell *wxcontrol = wxCocoaNSActionCell::GetFromCocoa(sender);
     wxCHECK_RET(wxcontrol,wxT("wxNSActionCellAction received but no wxCocoaNSActionCell exists!"));
     wxcontrol->CocoaTarget_wxNSActionCellAction();
     wxCocoaNSActionCell *wxcontrol = wxCocoaNSActionCell::GetFromCocoa(sender);
     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;
                 untilMouseUp:NO])
             {
                 m_mouseDownTool = NULL;
-                wxLogDebug(wxT("Button was clicked after drag!"));
+                wxLogTrace(wxTRACE_COCOA,wxT("Button was clicked after drag!"));
             }
             [buttonCell setHighlighted: NO];
         }
             }
             [buttonCell setHighlighted: NO];
         }
@@ -320,7 +320,7 @@ bool wxToolBar::Cocoa_mouseDown(WX_NSEvent theEvent)
                 untilMouseUp:NO])
             {
                 m_mouseDownTool = NULL;
                 untilMouseUp:NO])
             {
                 m_mouseDownTool = NULL;
-                wxLogDebug(wxT("Button was clicked!"));
+                wxLogTrace(wxTRACE_COCOA,wxT("Button was clicked!"));
             }
             [buttonCell setHighlighted: NO];
         }
             }
             [buttonCell setHighlighted: NO];
         }