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
This commit is contained in:
@@ -254,6 +254,7 @@ void wxGUIEventLoop::DoStop()
|
|||||||
|
|
||||||
void wxGUIEventLoop::WakeUp()
|
void wxGUIEventLoop::WakeUp()
|
||||||
{
|
{
|
||||||
|
wxMacAutoreleasePool autoreleasepool;
|
||||||
NSEvent *event = [NSEvent otherEventWithType:NSApplicationDefined
|
NSEvent *event = [NSEvent otherEventWithType:NSApplicationDefined
|
||||||
location:NSMakePoint(0.0, 0.0)
|
location:NSMakePoint(0.0, 0.0)
|
||||||
modifierFlags:0
|
modifierFlags:0
|
||||||
|
Reference in New Issue
Block a user