On Freitag 20 Januar 2006 03:03, [EMAIL PROTECTED] wrote: > http://bugs.cinelerra.org/show_bug.cgi?id=221 > > ------- Additional Comments From [EMAIL PROTECTED] 2006-01-20 > 03:03 ------- The patch below fixes this bug, but the question is: > > Should raise_window(); be called in run_window(); ??? > > Anyone have some comments, (isn't the bcwindowbase used for widgets, which > would mean that raise_window() on the widgets is quite stupid)
I don't quite get what you mean by this. > diff -uarN ../hvirtual_clean/cinelerra/assetedit.C cinelerra/assetedit.C > --- ../hvirtual_clean/cinelerra/assetedit.C 2006-01-18 > 23:04:15.000000000 +1030 +++ cinelerra/assetedit.C 2006-01-20 > 12:27:57.000000000 +1030 @@ -69,6 +69,7 @@ > > window = new AssetEditWindow(mwindow, this); > window->create_objects(); > + window->raise_window(); > result = window->run_window(); You are calling raise_window on the top-level window. This is ok, methinks. Probably you are mixing "base class" with "parent window". Widgets (buttons, etc.) do have parent windows, but even top-level windows (which don't have parents, at least in the guicast sense) have BC_WindowBase as base class. -- Hannes _______________________________________________ Cinelerra mailing list [email protected] https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
