Changes

Jump to navigation Jump to search
No change in size ,  01:01, 7 July 2009
did I miss something? there is no Delete()
</source>
Last, you ''must'' remove any GuiElements you have Append()ed in your menu (unless it was declared globally, but you should still remove it) before returning to the MainMenu function, or else the GUI will keep trying to display an image that doesn't exist any more. Use the DeleteRemove() function, which takes in a GuiElement:
<source lang = "cpp">
mainWindow->DeleteRemove(&image);
</source>
}
mainWindow->DeleteRemove(&image);
return menu;
}
oversight, Administrators
2,080

edits

Navigation menu