Closing wxFrame
Posted: Tue Sep 11, 2018 2:02 pm
Hello All,
I have a program that has login frame and another dashboard frame. My program logic is after loginned the dashboard frame will appear and the login page should be closed. I am using the code below to do it but when I close the dashboard frame it is not closing the proper way I guess because I am hiding the login page and did not close it? Is there any way to close all hidden frames?
I have a program that has login frame and another dashboard frame. My program logic is after loginned the dashboard frame will appear and the login page should be closed. I am using the code below to do it but when I close the dashboard frame it is not closing the proper way I guess because I am hiding the login page and did not close it? Is there any way to close all hidden frames?
Code: Select all
Dashboard* main = new Dashboard(this);
main->Show();
Hide();