diff --git a/src/kits/interface/Menu.cpp b/src/kits/interface/Menu.cpp index 78ed0a7b55..e4e42695f0 100644 --- a/src/kits/interface/Menu.cpp +++ b/src/kits/interface/Menu.cpp @@ -229,7 +229,7 @@ BMenu::BMenu(const char* name, menu_layout layout) BMenu::BMenu(const char* name, float width, float height) : - BView(BRect(0.0f, width, 0.0f, height), name, 0, B_WILL_DRAW), + BView(BRect(0.0f, 0.0f, 0.0f, 0.0f), name, 0, B_WILL_DRAW), fChosenItem(NULL), fSelected(NULL), fCachedMenuWindow(NULL),