Added wxAutoNSAutoreleasePool to Create(Tool|Status)Bar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user