Send message to create top view immediately to prevent problems with graphics display
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10881 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3842,7 +3842,8 @@ BView::attachView(BView *aView)
|
|||||||
owner->fLink->Attach<uint32>( aView->Flags() );
|
owner->fLink->Attach<uint32>( aView->Flags() );
|
||||||
owner->fLink->Attach<bool>( aView->IsHidden(aView) );
|
owner->fLink->Attach<bool>( aView->IsHidden(aView) );
|
||||||
owner->fLink->Attach<int32>( aView->CountChildren() );
|
owner->fLink->Attach<int32>( aView->CountChildren() );
|
||||||
|
owner->fLink->Flush();
|
||||||
|
|
||||||
aView->setCachedState();
|
aView->setCachedState();
|
||||||
|
|
||||||
// call the hook function:
|
// call the hook function:
|
||||||
@@ -4410,7 +4411,7 @@ BView::PrintTree()
|
|||||||
|
|
||||||
ViewAttr::ViewAttr(void)
|
ViewAttr::ViewAttr(void)
|
||||||
{
|
{
|
||||||
font = *be_plain_font;
|
// font = *be_plain_font;
|
||||||
fontFlags = font.Flags();
|
fontFlags = font.Flags();
|
||||||
|
|
||||||
penPosition.Set(0, 0);
|
penPosition.Set(0, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user