Use wxAutoNSAutoreleasePool when destroying wxIconRefData

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2004-04-11 17:59:43 +00:00
parent 1a42f89c41
commit 894d6c9abd

View File

@@ -66,6 +66,7 @@ wxIconRefData::wxIconRefData( const wxIconRefData& data)
wxIconRefData::~wxIconRefData()
{
wxAutoNSAutoreleasePool pool;
[m_cocoaNSImage release];
m_cocoaNSImage = NULL;
}