rem: BMenuWindow(BRect frame, BMenu *menu) : BWindow(frame, "Menu", B_NO_BORDER_WINDOW_LOOK, B_MODAL_APP_WINDOW_FEEL, B_NOT_ZOOMABLE) { fMenu = menu; AddChild(fMenu); ResizeTo(fMenu->Bounds().Width() + 1, fMenu->Bounds().Height() + 1); fMenu->MakeFocus(true); }
add: BMenuWindow::BMenuWindow(const char *name) :  BWindow(BRect(0, 0, 0, 0), name, B_NO_BORDER_WINDOW_LOOK, kMenuWindowFeel, B_NOT_ZOOMABLE), fUpperScroller(NULL), fLowerScroller(NULL) { BMenuFrame *menuFrame = new BMenuFrame(); AddChild(menuFrame); }
context: 	BMenuWindow(BRect frame, BMenu *menu) :		BWindow(frame, "Menu", B_NO_BORDER_WINDOW_LOOK, B_MODAL_APP_WINDOW_FEEL,			B_NOT_ZOOMABLE)	{		fMenu = menu;		AddChild(fMenu);			ResizeTo(fMenu->Bounds().Width() + 1, fMenu->Bounds().Height() + 1);		fMenu->MakeFocus(true);	}