2010/10/22 <yourpalal2@xxxxxxxxx>: > Author: yourpalal > Date: 2010-10-22 09:45:43 +0200 (Fri, 22 Oct 2010) > New Revision: 39043 > Changeset: http://dev.haiku-os.org/changeset/39043 > > Modified: > haiku/trunk/src/kits/interface/Layout.cpp > Log: > Update BLayout::IndexOfView() to return NULL for NULL input, and check for > BViews that where added by BLayout, instead of by BViewLayoutItem. Well, you meant "return -1" :) Bye, Jérôme