From 7f4d45d77364a5b7bd202334da315a2a19664980 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 24 Jun 2004 10:06:59 +0000 Subject: [PATCH] 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 --- src/apps/diskprobe/OpenWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/diskprobe/OpenWindow.cpp b/src/apps/diskprobe/OpenWindow.cpp index 15a7b2719a..d4bcc9ec19 100644 --- a/src/apps/diskprobe/OpenWindow.cpp +++ b/src/apps/diskprobe/OpenWindow.cpp @@ -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));