* Do not allow a menu window to be movable. This fixes bug #4314.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32650 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -250,7 +250,7 @@ BMenuFrame::Draw(BRect updateRect)
|
|||||||
BMenuWindow::BMenuWindow(const char *name)
|
BMenuWindow::BMenuWindow(const char *name)
|
||||||
// The window will be resized by BMenu, so just pass a dummy rect
|
// The window will be resized by BMenu, so just pass a dummy rect
|
||||||
: BWindow(BRect(0, 0, 0, 0), name, B_BORDERED_WINDOW_LOOK, kMenuWindowFeel,
|
: BWindow(BRect(0, 0, 0, 0), name, B_BORDERED_WINDOW_LOOK, kMenuWindowFeel,
|
||||||
B_NOT_ZOOMABLE | B_AVOID_FOCUS),
|
B_NOT_MOVABLE | B_NOT_ZOOMABLE | B_AVOID_FOCUS),
|
||||||
fMenu(NULL),
|
fMenu(NULL),
|
||||||
fMenuFrame(NULL),
|
fMenuFrame(NULL),
|
||||||
fUpperScroller(NULL),
|
fUpperScroller(NULL),
|
||||||
|
|||||||
Reference in New Issue
Block a user