X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b030203c5926bd6af8bc310469c911f2143f7e1..3a5bcc4db0851bf8cd3063917511b0b17c7f9679:/src/cocoa/bmpbuttn.mm diff --git a/src/cocoa/bmpbuttn.mm b/src/cocoa/bmpbuttn.mm index 7933e5dffa..50da8d7cdc 100644 --- a/src/cocoa/bmpbuttn.mm +++ b/src/cocoa/bmpbuttn.mm @@ -32,10 +32,10 @@ bool wxBitmapButton::Create(wxWindow *parent, wxWindowID winid, const wxValidator& validator, const wxString& name) { wxAutoNSAutoreleasePool pool; - wxLogDebug(wxT("Creating control with id=%d"),winid); + wxLogTrace(wxTRACE_COCOA,wxT("Creating control with id=%d"),winid); if(!CreateControl(parent,winid,pos,size,style,validator,name)) return false; - wxLogDebug(wxT("Created control with id=%d"),GetId()); + wxLogTrace(wxTRACE_COCOA,wxT("Created control with id=%d"),GetId()); m_cocoaNSView = NULL; SetNSButton([[NSButton alloc] initWithFrame: MakeDefaultNSRect(size)]); // NOTE: YES we want to release this (to match the alloc). @@ -60,7 +60,7 @@ wxBitmapButton::~wxBitmapButton() void wxBitmapButton::Cocoa_wxNSButtonAction(void) { - wxLogDebug(wxT("YAY!")); + wxLogTrace(wxTRACE_COCOA,wxT("YAY!")); wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, GetId()); InitCommandEvent(event); // event.SetEventObject(this); Command(event);