Replace remaining InvalidateLayout()'s with LayoutInvalidated(). Also do a bit of cleanup/move methods around.
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user