From ab9df4fb452e785836de38712af84d209113b5af Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Fri, 13 Mar 2009 20:54:02 +0000 Subject: [PATCH] Another place we need an autorelease pool. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/utils.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osx/cocoa/utils.mm b/src/osx/cocoa/utils.mm index eb43898763..173df9c046 100644 --- a/src/osx/cocoa/utils.mm +++ b/src/osx/cocoa/utils.mm @@ -181,6 +181,7 @@ void wxMacWakeUp() bool wxApp::DoInitGui() { + wxMacAutoreleasePool pool; [NSApplication sharedApplication]; if (!sm_isEmbedded) -- 2.50.0