Replace remaining InvalidateLayout()'s with LayoutInvalidated(). Also do a bit of cleanup/move methods around.

This commit is contained in:
Alex Wilson
2011-10-28 14:16:49 -06:00
parent 17499672a0
commit 61eb1f1d19
14 changed files with 83 additions and 100 deletions
+9 -11
View File
@@ -841,17 +841,6 @@ BTextControl::PreferredSize()
}
void
BTextControl::InvalidateLayout(bool descendants)
{
CALLED();
fLayoutData->valid = false;
BView::InvalidateLayout(descendants);
}
BLayoutItem*
BTextControl::CreateLabelLayoutItem()
{
@@ -870,6 +859,15 @@ BTextControl::CreateTextViewLayoutItem()
}
void
BTextControl::LayoutInvalidated(bool descendants)
{
CALLED();
fLayoutData->valid = false;
}
void
BTextControl::DoLayout()
{