From: Stefan Csomor Date: Sun, 25 Sep 2011 12:14:52 +0000 (+0000) Subject: adding missing autorelease pool, since this can be called from anywhere, fixes #13449 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/829c8572da9ee3c79686cae3cfeb0636852c13a2 adding missing autorelease pool, since this can be called from anywhere, fixes #13449 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/cocoa/evtloop.mm b/src/osx/cocoa/evtloop.mm index 759c02b1ca..12e98beac0 100644 --- a/src/osx/cocoa/evtloop.mm +++ b/src/osx/cocoa/evtloop.mm @@ -254,6 +254,7 @@ void wxGUIEventLoop::DoStop() void wxGUIEventLoop::WakeUp() { + wxMacAutoreleasePool autoreleasepool; NSEvent *event = [NSEvent otherEventWithType:NSApplicationDefined location:NSMakePoint(0.0, 0.0) modifierFlags:0