Linux: Fix error: use of undeclared identifier 'GetPreferredSize'

This commit is contained in:
Marshall Greenblatt 2017-06-05 11:59:45 +02:00
parent a2749d8fbd
commit 7d05784842

View File

@ -142,7 +142,7 @@ CEF_VIEW_VIEW_T int CEF_VIEW_VIEW_D::GetHeightForWidth(int w) const {
// Some layouts like FillLayout will ignore the preferred size if this view
// has no children. We want to use the preferred size if not otherwise
// specified.
result = GetPreferredSize().height();
result = ParentClass::GetPreferredSize().height();
}
return result;
}