diff --git a/src/kits/interface/View.cpp b/src/kits/interface/View.cpp index d2278514a5..9c23d86bde 100644 --- a/src/kits/interface/View.cpp +++ b/src/kits/interface/View.cpp @@ -3648,7 +3648,7 @@ bool BView::attachView(BView *aView){ owner->session->WriteRect( aView->Frame() ); owner->session->WriteUInt32( aView->ResizingMode() ); owner->session->WriteUInt32( aView->Flags() ); - owner->session->WriteBool( aView->IsHidden() ); + owner->session->WriteBool( aView->IsHidden(aView) ); owner->session->WriteInt32( aView->CountChildren() ); aView->setCachedState(); diff --git a/src/kits/interface/Window.cpp b/src/kits/interface/Window.cpp index 764538364e..7b6ce24f36 100644 --- a/src/kits/interface/Window.cpp +++ b/src/kits/interface/Window.cpp @@ -2247,7 +2247,6 @@ void BWindow::BuildTopView(){ top_view = new BView( fFrame, "top_view", B_FOLLOW_ALL, B_WILL_DRAW); top_view->top_level_view = true; - top_view->fShowLevel = 1; // set top_view's owner, add it to window's eligible handler list // and also set its next handler to this window.