r885: Don't delete a borrowed frame.
[cinelerra_cv/ct.git] / guicast / bcwindow.C
blobcc4779c98482a369e66c0b0aeadcf8a37ee3362d
1 #include "bcwindow.h"
6 BC_Window::BC_Window(char *title, 
7                                 int x,
8                                 int y,
9                                 int w, 
10                                 int h, 
11                                 int minw, 
12                                 int minh, 
13                                 int allow_resize,
14                                 int private_color, 
15                                 int hide,
16                                 int bg_color,
17                                 char *display_name,
18                                 int group_it)
19  : BC_WindowBase()
21         create_window(0,
22                                 title, 
23                                 x,
24                                 y,
25                                 w, 
26                                 h, 
27                                 (minw < 0) ? w : minw, 
28                                 (minh < 0) ? h : minh, 
29                                 allow_resize,
30                                 private_color, 
31                                 hide,
32                                 bg_color,
33                                 display_name,
34                                 MAIN_WINDOW,
35                                 0,
36                                 group_it);
40 BC_Window::~BC_Window()