GWindow::~GWindow()
{
if(gui && running()) {
- gui->set_done(0);
- join();
+ gui->set_done(1);
}
+ join();
delete gui; gui = 0;
}
GWindowGUI::calculate_extents(mwindow->gui, &w, &h);
gui = new GWindowGUI(mwindow, w, h);
+ gui->load_defaults();
gui->create_objects();
}