hidden state was wrongly reported
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8040 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3648,7 +3648,7 @@ bool BView::attachView(BView *aView){
|
|||||||
owner->session->WriteRect( aView->Frame() );
|
owner->session->WriteRect( aView->Frame() );
|
||||||
owner->session->WriteUInt32( aView->ResizingMode() );
|
owner->session->WriteUInt32( aView->ResizingMode() );
|
||||||
owner->session->WriteUInt32( aView->Flags() );
|
owner->session->WriteUInt32( aView->Flags() );
|
||||||
owner->session->WriteBool( aView->IsHidden() );
|
owner->session->WriteBool( aView->IsHidden(aView) );
|
||||||
owner->session->WriteInt32( aView->CountChildren() );
|
owner->session->WriteInt32( aView->CountChildren() );
|
||||||
|
|
||||||
aView->setCachedState();
|
aView->setCachedState();
|
||||||
|
|||||||
@@ -2247,7 +2247,6 @@ void BWindow::BuildTopView(){
|
|||||||
top_view = new BView( fFrame, "top_view",
|
top_view = new BView( fFrame, "top_view",
|
||||||
B_FOLLOW_ALL, B_WILL_DRAW);
|
B_FOLLOW_ALL, B_WILL_DRAW);
|
||||||
top_view->top_level_view = true;
|
top_view->top_level_view = true;
|
||||||
top_view->fShowLevel = 1;
|
|
||||||
|
|
||||||
// set top_view's owner, add it to window's eligible handler list
|
// set top_view's owner, add it to window's eligible handler list
|
||||||
// and also set its next handler to this window.
|
// and also set its next handler to this window.
|
||||||
|
|||||||
Reference in New Issue
Block a user