diff mde/content/Items.d @ 123:d3b2cefd46c9

minSizeChange() allows run-time changes to widgets' minimal size (except for shrinking in a GridLayoutWidget). FloatingAreaWidget: correct resize limiters AStringContent: allows space and ignores modifier keys
author Diggory Hardy <diggory.hardy@gmail.com>
date Sun, 04 Jan 2009 17:35:15 +0000
parents 1b1e2297e2fc
children 3e648bc53bde
line wrap: on
line diff
--- a/mde/content/Items.d	Fri Jan 02 18:10:14 2009 +0000
+++ b/mde/content/Items.d	Sun Jan 04 17:35:15 2009 +0000
@@ -64,7 +64,7 @@
 	    else if (h == "quit" && item is null)
 		return imde.quit;
 	}
-	throw new ContentItemException (h);
+	return new ErrorContent ("Error: bad content specifier",h);
     }
     
     /** Creates some content on first run (required by get()).