Mercurial > projects > mde
diff mde/gui/widget/ParentContent.d @ 174:3d58adc17d20
Temporary commit to allow backup
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Mon, 31 Aug 2009 13:54:23 +0200 |
parents | a1ba9157510e |
children | 1cbde9807293 |
line wrap: on
line diff
--- a/mde/gui/widget/ParentContent.d Sat Aug 08 15:53:10 2009 +0200 +++ b/mde/gui/widget/ParentContent.d Mon Aug 31 13:54:23 2009 +0200 @@ -468,12 +468,11 @@ protected: invariant { - // this() calls makeWidget() which calls recursionCheck(); invariant is called at this point before this() finishes - if (subWidgets.length) { - assert (subWidgets.length == 1); - assert (mw == subWidgets[0].minWidth + border.x1 + border.x2); - assert (mh == subWidgets[0].minHeight + border.y1 + border.y2); - } + /+TODO + assert (subWidgets.length == 1); + assert (mw == subWidgets[0].minWidth + border.x1 + border.x2); + assert (mh == subWidgets[0].minHeight + border.y1 + border.y2); + +/ } alias IRenderer.Border.BTYPE BTYPE;