From 4b5bc014055f17d1d010543e3a4f01d125e7864f Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Wed, 19 Jan 2005 17:30:53 +0000 Subject: [PATCH] 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 --- src/kits/interface/View.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/kits/interface/View.cpp b/src/kits/interface/View.cpp index 53fe55fb6a..0926b22b46 100644 --- a/src/kits/interface/View.cpp +++ b/src/kits/interface/View.cpp @@ -3842,7 +3842,8 @@ BView::attachView(BView *aView) owner->fLink->Attach( aView->Flags() ); owner->fLink->Attach( aView->IsHidden(aView) ); owner->fLink->Attach( aView->CountChildren() ); - + owner->fLink->Flush(); + aView->setCachedState(); // call the hook function: @@ -4410,7 +4411,7 @@ BView::PrintTree() ViewAttr::ViewAttr(void) { - font = *be_plain_font; +// font = *be_plain_font; fontFlags = font.Flags(); penPosition.Set(0, 0);