interface kit: added compatibility symbols for GCC4

* InvalidateLayout method for BBox, BButton, BCheckBox, BMenuField,
  BScrollView, BSlider, BStringView, BTextControl.
This commit is contained in:
Jerome Duval
2012-02-26 10:36:04 +01:00
parent 44c991efdb
commit 8adaa6c544
8 changed files with 19 additions and 44 deletions
+2 -6
View File
@@ -1480,11 +1480,9 @@ BTextControl::TextViewLayoutItem::Instantiate(BMessage* from)
}
#if __GNUC__ == 2
extern "C" void
InvalidateLayout__12BTextControlb(BView* view, bool descendants)
B_IF_GCC_2(InvalidateLayout__12BTextControlb,
_ZN12BTextControl16InvalidateLayoutEb)(BView* view, bool descendants)
{
perform_data_layout_invalidated data;
data.descendants = descendants;
@@ -1492,5 +1490,3 @@ InvalidateLayout__12BTextControlb(BView* view, bool descendants)
view->Perform(PERFORM_CODE_LAYOUT_INVALIDATED, &data);
}
#endif