]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/evtloop.mm
Correct the direction passed to wxDataObject in wxGTK clipboard code.
[wxWidgets.git] / 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