• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Do buttons permanently leak after a dialog is destroyed?

Status
Not open for further replies.
Level 15
Joined
Aug 7, 2013
Messages
1,337
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