Set fSeparatorItem NULL initially fixing #9151 on gcc4
This commit is contained in:
@@ -56,7 +56,8 @@ const float kSepItemWidth = 5.0f;
|
|||||||
TBarMenuBar::TBarMenuBar(TBarView* bar, BRect frame, const char* name)
|
TBarMenuBar::TBarMenuBar(TBarView* bar, BRect frame, const char* name)
|
||||||
: BMenuBar(frame, name, B_FOLLOW_NONE, B_ITEMS_IN_ROW, false),
|
: BMenuBar(frame, name, B_FOLLOW_NONE, B_ITEMS_IN_ROW, false),
|
||||||
fBarView(bar),
|
fBarView(bar),
|
||||||
fAppListMenuItem(NULL)
|
fAppListMenuItem(NULL),
|
||||||
|
fSeparatorItem(NULL)
|
||||||
{
|
{
|
||||||
SetItemMargins(0.0f, 0.0f, 0.0f, 0.0f);
|
SetItemMargins(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user