diff mde/gui/widget/AChildWidget.d @ 144:66c58e5b0062

Added a BoolContent-based collapsible widget.
author Diggory Hardy <diggory.hardy@gmail.com>
date Tue, 10 Feb 2009 12:57:09 +0000
parents 6f69a9c111eb
children 783969f4665c
line wrap: on
line diff
--- a/mde/gui/widget/AChildWidget.d	Mon Feb 09 23:27:41 2009 +0000
+++ b/mde/gui/widget/AChildWidget.d	Tue Feb 10 12:57:09 2009 +0000
@@ -50,8 +50,8 @@
     }
     
     // Widgets need to do their initialization either in this() or setup().
-    override bool setup (uint,uint) {
-	return false;
+    override bool setup (uint n,uint) {
+	return n == 0;
     }
     
     // Don't save any data: fine for many widgets.