that was a memory leak

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2005-03-29 11:45:38 +00:00
parent 37a87c6709
commit 7aabb2acd3

View File

@@ -363,9 +363,6 @@ IconRef wxBitmapRefData::GetIconRef()
}
else
{
iconFamily = (IconFamilyHandle) NewHandle(8) ;
(**iconFamily).resourceType = kIconFamilyType ;
(**iconFamily).resourceSize = sizeof(OSType) + sizeof(Size);
PicHandle pic = GetPictHandle() ;
SetIconFamilyData( iconFamily, 'PICT' , (Handle) pic ) ;
}