• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Do buttons permanently leak after a dialog is destroyed?

Status
Not open for further replies.
Level 15
Joined
Aug 7, 2013
Messages
1,338
Hi,

There seems to be some uncertainty if buttons permanently leak, probably because there is no native like DestroyButton or RemoveButton--dialogs have to be "redrawn" or "repainted" in order to remove a button.

See http://www.hiveworkshop.com/forums/submissions-414/system-dialog-button-254366/ for some apparent discussion on this dubious topic.

So, if a Dialog is destroyed, are its buttons also deallocated? Or is there a permanent leak for each button?
 
Status
Not open for further replies.
Top