add bluray support, add dialog close fixes, scale fix
[goodguy/history.git] / cinelerra-5.0 / cinelerra / wwindow.C
index fbd6b08d709a65818e2af1ab932b3bf73b052666..e0db1b7ca4d0ab1101625c68795da36e4457a480 100644 (file)
@@ -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;
 }