* fix the new layout version of the BView constructor to call the BHandler

constructor with the supplied name


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23630 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-01-19 11:59:26 +00:00
parent 5300362be6
commit d4000a765f

View File

@ -346,6 +346,7 @@ struct BView::LayoutData {
BView::BView(const char* name, uint32 flags, BLayout* layout)
: BHandler(name)
{
_InitData(BRect(0, 0, 0, 0), name, B_FOLLOW_NONE,
flags | B_SUPPORTS_LAYOUT);