• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Do buttons permanently leak after a dialog is destroyed?

Status
Not open for further replies.
Level 15
Joined
Aug 7, 2013
Messages
1,342
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 https://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.
Back
Top