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:
@@ -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 ) ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user