I was trying to get my GUI working, implemented with wxNotebook.
(1) I tried to do a button that triggers the removal of old pages and reinitialise new ones, this algorithm managed to work but on clicking the button 5 times the program aborted by itself.
I do not know where the problem lies.
Can anyone provide me with a solution or a better way of implemention?
(2) How do I do a refresh of panels on the same page(displaying the new panel instead of the old panel on the same page)?