]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/NSControl.mm
GetChildrenCount() should be const
[wxWidgets.git] / src / cocoa / NSControl.mm
index 53d42d16971c7c76e05886117240e5c05f620c74..39981e4dbda41613fcbc2526b6a33b62a82eec1d 100644 (file)
@@ -40,9 +40,9 @@
 
 - (void)wxNSControlAction: (id)sender
 {
-    wxLogDebug("wxNSControlAction");
+    wxLogTrace(wxTRACE_COCOA,wxT("wxNSControlAction"));
     wxCocoaNSControl *wxcontrol = wxCocoaNSControl::GetFromCocoa(sender);
-    wxCHECK_RET(wxcontrol,"wxNSControlAction received but no wxCocoaNSControl exists!");
+    wxCHECK_RET(wxcontrol,wxT("wxNSControlAction received but no wxCocoaNSControl exists!"));
     wxcontrol->CocoaTarget_action();
 }