Add compatibility symbols for removed LayoutChanged() calls.

This commit is contained in:
Rene Gollent 2011-12-18 15:34:44 -05:00
parent 45e71a9ea6
commit 466f2b8f99
8 changed files with 95 additions and 0 deletions

View File

@ -873,3 +873,15 @@ BBox::_ValidateLayoutData()
ResetLayoutInvalidation();
}
#if __GNUC__ == 2
extern "C" void
InvalidateLayout__4BBoxb(BBox* box)
{
box->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
}
#endif

View File

@ -782,3 +782,14 @@ BButton::_DrawFocusLine(float x, float y, float width, bool visible)
}
#if __GNUC__ == 2
extern "C" void
InvalidateLayout__7BButtonb(BView* view)
{
view->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
}
#endif

View File

@ -623,3 +623,15 @@ BCheckBox::operator=(const BCheckBox &)
return *this;
}
#if __GNUC__ == 2
extern "C" void
InvalidateLayout__9BCheckBoxb(BCheckBox* box)
{
box->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
}
#endif

View File

@ -1510,3 +1510,15 @@ BMenuField::MenuBarLayoutItem::Instantiate(BMessage* from)
return NULL;
}
#if __GNUC__ == 2
extern "C" void
InvalidateLayout__10BMenuFieldb(BMenuField* field)
{
field->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
}
#endif

View File

@ -897,3 +897,15 @@ void BScrollView::_ReservedScrollView2() {}
void BScrollView::_ReservedScrollView3() {}
void BScrollView::_ReservedScrollView4() {}
#if __GNUC__ == 2
extern "C" void
InvalidateLayout__11BScrollViewb(BScrollView* view)
{
view->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
}
#endif

View File

@ -453,3 +453,15 @@ BStringView::_ValidatePreferredSize()
return fPreferredSize;
}
#if __GNUC__ == 2
extern "C" void
InvalidateLayout__11BStringViewb(BView* view)
{
view->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
}
#endif

View File

@ -1481,3 +1481,14 @@ BTextControl::TextViewLayoutItem::Instantiate(BMessage* from)
}
#if __GNUC__ == 2
extern "C" void
InvalidateLayout__12BTextControlb(BView* view)
{
view->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
}
#endif

View File

@ -5635,3 +5635,16 @@ BTextView::TextTrackState::SimulateMouseMovement(BTextView *textView)
textView->GetMouse(&where, &buttons);
textView->_PerformMouseMoved(where, B_INSIDE_VIEW);
}
#if __GNUC__ == 2
extern "C" void
InvalidateLayout__9BTextViewb(BTextView* view)
{
view->Perform(PERFORM_CODE_LAYOUT_CHANGED, NULL);
}
#endif