X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.0%2Fcinelerra%2Fwwindow.C;h=e0db1b7ca4d0ab1101625c68795da36e4457a480;hb=91efd376233a15f6572e6f68d28a5bee69797e87;hp=fbd6b08d709a65818e2af1ab932b3bf73b052666;hpb=8bbd1679c5811ba26608d5fc9ed60cedeb2bc103;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/wwindow.C b/cinelerra-5.0/cinelerra/wwindow.C index fbd6b08d..e0db1b7c 100644 --- a/cinelerra-5.0/cinelerra/wwindow.C +++ b/cinelerra-5.0/cinelerra/wwindow.C @@ -33,6 +33,11 @@ WWindow::WWindow(MWindow *mwindow) this->mwindow = mwindow; } +WWindow::~WWindow() +{ + close_window(); +} + void WWindow::show_warning(int *do_warning, const char *warn_text) { if( running() ) return; @@ -57,7 +62,7 @@ BC_Window* WWindow::new_gui() } WWindowGUI::WWindowGUI(WWindow *thread, int x, int y) - : BC_Window(PROGRAM_NAME ": Warning", x, y, 640, 100, 640, 100, 0, 0, 1) + : BC_Window(_(PROGRAM_NAME ": Warning"), x, y, 640, 100, 640, 100, 0, 0, 1) { this->thread = thread; }