Fix build, forgot a {
This commit is contained in:
@@ -363,7 +363,8 @@ TBarView::PlaceDeskbarMenu()
|
|||||||
// create the Be menu
|
// create the Be menu
|
||||||
fBarMenuBar = new TBarMenuBar(this, menuFrame, "BarMenuBar");
|
fBarMenuBar = new TBarMenuBar(this, menuFrame, "BarMenuBar");
|
||||||
AddChild(fBarMenuBar);
|
AddChild(fBarMenuBar);
|
||||||
}
|
} else
|
||||||
|
fBarMenuBar->SmartResize(-1, -1);
|
||||||
|
|
||||||
float width = sMinimumWindowWidth;
|
float width = sMinimumWindowWidth;
|
||||||
BPoint loc(B_ORIGIN);
|
BPoint loc(B_ORIGIN);
|
||||||
@@ -443,7 +444,7 @@ TBarView::PlaceTray(bool vertSwap, bool leftSwap)
|
|||||||
void
|
void
|
||||||
TBarView::PlaceApplicationBar()
|
TBarView::PlaceApplicationBar()
|
||||||
{
|
{
|
||||||
if (fInlineScrollView != NULL)
|
if (fInlineScrollView != NULL) {
|
||||||
fInlineScrollView->DetachScrollers();
|
fInlineScrollView->DetachScrollers();
|
||||||
fInlineScrollView->RemoveSelf();
|
fInlineScrollView->RemoveSelf();
|
||||||
delete fInlineScrollView;
|
delete fInlineScrollView;
|
||||||
|
|||||||
Reference in New Issue
Block a user