Use the correct perform invocation for these functions.
This commit is contained in:
@@ -878,9 +878,12 @@ BBox::_ValidateLayoutData()
|
|||||||
|
|
||||||
|
|
||||||
extern "C" void
|
extern "C" void
|
||||||
InvalidateLayout__4BBoxb(BBox* box)
|
InvalidateLayout__4BBoxb(BBox* box, bool descendants)
|
||||||
{
|
{
|
||||||
box->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
|
perform_data_layout_invalidated data;
|
||||||
|
data.descendants = descendants;
|
||||||
|
|
||||||
|
box->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -786,9 +786,12 @@ BButton::_DrawFocusLine(float x, float y, float width, bool visible)
|
|||||||
|
|
||||||
|
|
||||||
extern "C" void
|
extern "C" void
|
||||||
InvalidateLayout__7BButtonb(BView* view)
|
InvalidateLayout__7BButtonb(BView* view, bool descendants)
|
||||||
{
|
{
|
||||||
view->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
|
perform_data_layout_invalidated data;
|
||||||
|
data.descendants = descendants;
|
||||||
|
|
||||||
|
view->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -628,9 +628,12 @@ BCheckBox::operator=(const BCheckBox &)
|
|||||||
|
|
||||||
|
|
||||||
extern "C" void
|
extern "C" void
|
||||||
InvalidateLayout__9BCheckBoxb(BCheckBox* box)
|
InvalidateLayout__9BCheckBoxb(BCheckBox* box, bool descendants)
|
||||||
{
|
{
|
||||||
box->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
|
perform_data_layout_invalidated data;
|
||||||
|
data.descendants = descendants;
|
||||||
|
|
||||||
|
box->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1515,9 +1515,12 @@ BMenuField::MenuBarLayoutItem::Instantiate(BMessage* from)
|
|||||||
|
|
||||||
|
|
||||||
extern "C" void
|
extern "C" void
|
||||||
InvalidateLayout__10BMenuFieldb(BMenuField* field)
|
InvalidateLayout__10BMenuFieldb(BMenuField* field, bool descendants)
|
||||||
{
|
{
|
||||||
field->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
|
perform_data_layout_invalidated data;
|
||||||
|
data.descendants = descendants;
|
||||||
|
|
||||||
|
field->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -902,9 +902,12 @@ void BScrollView::_ReservedScrollView4() {}
|
|||||||
|
|
||||||
|
|
||||||
extern "C" void
|
extern "C" void
|
||||||
InvalidateLayout__11BScrollViewb(BScrollView* view)
|
InvalidateLayout__11BScrollViewb(BScrollView* view, bool descendants)
|
||||||
{
|
{
|
||||||
view->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
|
perform_data_layout_invalidated data;
|
||||||
|
data.descendants = descendants;
|
||||||
|
|
||||||
|
view->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -458,9 +458,12 @@ BStringView::_ValidatePreferredSize()
|
|||||||
|
|
||||||
|
|
||||||
extern "C" void
|
extern "C" void
|
||||||
InvalidateLayout__11BStringViewb(BView* view)
|
InvalidateLayout__11BStringViewb(BView* view, bool descendants)
|
||||||
{
|
{
|
||||||
view->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
|
perform_data_layout_invalidated data;
|
||||||
|
data.descendants = descendants;
|
||||||
|
|
||||||
|
view->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1485,9 +1485,12 @@ BTextControl::TextViewLayoutItem::Instantiate(BMessage* from)
|
|||||||
|
|
||||||
|
|
||||||
extern "C" void
|
extern "C" void
|
||||||
InvalidateLayout__12BTextControlb(BView* view)
|
InvalidateLayout__12BTextControlb(BView* view, bool descendants)
|
||||||
{
|
{
|
||||||
view->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
|
perform_data_layout_invalidated data;
|
||||||
|
data.descendants = descendants;
|
||||||
|
|
||||||
|
view->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -5641,9 +5641,12 @@ BTextView::TextTrackState::SimulateMouseMovement(BTextView *textView)
|
|||||||
|
|
||||||
|
|
||||||
extern "C" void
|
extern "C" void
|
||||||
InvalidateLayout__9BTextViewb(BTextView* view)
|
InvalidateLayout__9BTextViewb(BTextView* view, bool descendants)
|
||||||
{
|
{
|
||||||
view->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
|
perform_data_layout_invalidated data;
|
||||||
|
data.descendants = descendants;
|
||||||
|
|
||||||
|
view->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user