]> git.saurik.com Git - wxWidgets.git/commitdiff
adding missing autorelease pool, since this can be called from anywhere, fixes #13449
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 25 Sep 2011 12:14:52 +0000 (12:14 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 25 Sep 2011 12:14:52 +0000 (12:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/evtloop.mm

index 759c02b1ca9424a804a1a63c1f9daf382bd6d31c..12e98beac05d6b48e39f20abc01d89d109fd8dc2 100644 (file)
@@ -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