interface kit: added compatibility symbols for BeAE for #8354

* _ZN5BMenu16InvalidateLayoutEb for GCC4
* InvalidateLayout__7BSliderb for GCC2
This commit is contained in:
Jerome Duval 2012-02-25 18:28:15 +01:00
parent 0ef4598ff0
commit 7327891c90
2 changed files with 12 additions and 6 deletions

View File

@ -2983,14 +2983,10 @@ get_menu_info(menu_info* info)
}
#if __GNUC__ == 2
extern "C" void
InvalidateLayout__5BMenub(BMenu* menu)
B_IF_GCC_2(InvalidateLayout__5BMenub,_ZN5BMenu16InvalidateLayoutEb)(
BMenu* menu, bool descendants)
{
menu->InvalidateLayout();
}
#endif

View File

@ -2229,4 +2229,14 @@ _ReservedSlider3__7BSlider(BSlider* slider, const BFont* font,
slider->BSlider::SetFont(font, properties);
}
extern "C" void
InvalidateLayout__7BSliderb(BView* view, bool descendants)
{
perform_data_layout_invalidated data;
data.descendants = descendants;
view->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
}
#endif // __GNUC__ < 3