Original Post
The original thread* has retired, so I have to start a new one. :/ In SXML GUI (created by JavaCoolDude), when you try to clear a frame/panel to replace it with new widgets (like you would when changing pages) it crashes. To reproduce: * Download the latest SXML version: http://www.realityflux.com/abba/C++/SXMLGUI/SXML%20GUI%200.86.zip * Replace this code in Main.cpp:
if(callbackString == "exit")
if(button->isClicked())
changeScene(); * With this: if(callbackString == "exit")
if(button->isClicked())
guiFrame.GUIPanel::clear(); ...and you'll see. Any ideas? I've tried contacting the author (JCD) but have received no reply. -Daryl P.S. The code to clear a frame/panel was taken from the original thread, posted by the author himself: http://www.gamedev.net/community/forums/topic.asp?topic_id=325963&whichpage=5� Original thread: * "OpenGL GUI anyone? Updated on 11/17/05" http://www.gamedev.net/community/forums/topic.asp?topic_id=325963