X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6613dc3fd6027dae952372c0ed557bb9f4bdf215..3a7c125370cf6fd2b66eb06ba031efcfd5c5b9b0:/src/cocoa/frame.mm?ds=inline diff --git a/src/cocoa/frame.mm b/src/cocoa/frame.mm index 60069bd8ee..7ed2c50c8f 100644 --- a/src/cocoa/frame.mm +++ b/src/cocoa/frame.mm @@ -165,7 +165,7 @@ void wxFrame::UpdateFrameNSView() [sbarNSView setAutoresizingMask: NSViewWidthSizable|NSViewMaxYMargin]; sbarheight = sbarRect.size.height; } - wxLogDebug("frame height=%f, tbar=%f, sbar=%f",frameRect.size.height,tbarheight,sbarheight); + wxLogTrace(wxTRACE_COCOA,wxT("frame height=%f, tbar=%f, sbar=%f"),frameRect.size.height,tbarheight,sbarheight); NSRect innerRect = [m_cocoaNSView frame]; innerRect.size.height = frameRect.size.height - tbarheight - sbarheight; innerRect.origin.y = sbarheight; @@ -200,6 +200,7 @@ wxStatusBar* wxFrame::CreateStatusBar(int number, wxWindowID winid, const wxString& name) { + wxAutoNSAutoreleasePool pool; wxFrameBase::CreateStatusBar(number,style,winid,name); if(m_frameStatusBar) { @@ -233,6 +234,7 @@ wxToolBar* wxFrame::CreateToolBar(long style, wxWindowID winid, const wxString& name) { + wxAutoNSAutoreleasePool pool; wxFrameBase::CreateToolBar(style,winid,name); if(m_frameToolBar) {