]> git.saurik.com Git - wxWidgets.git/commit
Create an NSAutoreleasePool in wxMacWakeUp().
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 6 Oct 2009 00:08:15 +0000 (00:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 6 Oct 2009 00:08:15 +0000 (00:08 +0000)
commit3c7eea25638c6535d11e248ef8c4621f6ccd791b
tree2e63d2e631c262d632d20aaf89c34a895186233c
parentdc72e2adfa7e7de367c244e91c0402733c2904a8
Create an NSAutoreleasePool in wxMacWakeUp().

An auto-release pool is needed in this function because it can be called from
another thread which has no reason to have a pre-existing pool, but it does
allocate NSEvent object which is auto-released, resulting in warnings if no
pool available.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/cocoa/utils.mm