Use the correct perform invocation for these functions.

This commit is contained in:
Rene Gollent
2011-12-19 08:49:58 -05:00
parent e94fa361f3
commit f6c8d24294
8 changed files with 40 additions and 16 deletions
+5 -2
View File
@@ -1485,9 +1485,12 @@ BTextControl::TextViewLayoutItem::Instantiate(BMessage* from)
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);
}