X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fwwindow.C;h=4f522f3179f099de3ee2622836771b6a3534a6eb;hb=0d3917a4eda0344055badf0bd6e235c15c3b6cb8;hp=b7ffb644b7541d2cdc976ea6c567466541eb65c6;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/wwindow.C b/cinelerra-5.1/cinelerra/wwindow.C index b7ffb644..4f522f31 100644 --- a/cinelerra-5.1/cinelerra/wwindow.C +++ b/cinelerra-5.1/cinelerra/wwindow.C @@ -79,6 +79,7 @@ WWindowGUI::WWindowGUI(WWindow *thread, int x, int y) void WWindowGUI::create_objects() { + lock_window("WWindowGUI::create_objects"); int x = 10, y = 10; add_subwindow(new BC_TextBox(x, y, get_w()-50, 3, thread->warn_text)); y = get_h() - 30; @@ -87,6 +88,7 @@ void WWindowGUI::create_objects() x = get_w() - BC_CancelButton::calculate_w() - 10; add_subwindow(new BC_CancelButton(x, y)); show_window(); + unlock_window(); } WDisable::WDisable(WWindowGUI *gui, int x, int y)