X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85a74f93bf8deeb24caea31a6435eede98143f9c..d5363c04ac7bfd5409b369746a67b83fd10cfdbc:/src/osx/cocoa/evtloop.mm 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