]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/NSControl.mm
use GetFont() instead of (possibly not initialized) m_font in GetCharWidth/Height()
[wxWidgets.git] / src / cocoa / NSControl.mm
index 2f601e3b6b5e228b01569afc6a57cbea0b9b1b3a..39981e4dbda41613fcbc2526b6a33b62a82eec1d 100644 (file)
@@ -40,7 +40,7 @@
 
 - (void)wxNSControlAction: (id)sender
 {
-    wxLogDebug(wxT("wxNSControlAction"));
+    wxLogTrace(wxTRACE_COCOA,wxT("wxNSControlAction"));
     wxCocoaNSControl *wxcontrol = wxCocoaNSControl::GetFromCocoa(sender);
     wxCHECK_RET(wxcontrol,wxT("wxNSControlAction received but no wxCocoaNSControl exists!"));
     wxcontrol->CocoaTarget_action();