The OpenWindow is no longer resizable or zoomable, fixing bug #1 in our

bug tracker :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8141 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-06-24 10:06:59 +00:00
parent ff2652126c
commit 7f4d45d773

View File

@ -24,7 +24,8 @@ static const uint32 kMsgCancel = 'Canc';
OpenWindow::OpenWindow()
: BWindow(BRect(0, 0, 350, 100), "DiskProbe", B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS)
: BWindow(BRect(0, 0, 350, 100), "DiskProbe", B_TITLED_WINDOW,
B_NOT_RESIZABLE | B_NOT_ZOOMABLE | B_ASYNCHRONOUS_CONTROLS)
{
BView *view = new BView(Bounds(), B_EMPTY_STRING, B_FOLLOW_ALL, B_WILL_DRAW);
view->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));