]> git.saurik.com Git - wxWidgets.git/commitdiff
Another place we need an autorelease pool.
authorKevin Ollivier <kevino@theolliviers.com>
Fri, 13 Mar 2009 20:54:02 +0000 (20:54 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Fri, 13 Mar 2009 20:54:02 +0000 (20:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/utils.mm

index eb438987630dd01f020a3d6290281a4ac95b9ebc..173df9c046c06a9a76fb1afeac80222c8823f8dc 100644 (file)
@@ -181,6 +181,7 @@ void wxMacWakeUp()
 
 bool wxApp::DoInitGui()
 {
+    wxMacAutoreleasePool pool;
     [NSApplication sharedApplication];
 
     if (!sm_isEmbedded)