comparison mde/gui/widget/ParentContent.d @ 163:24d77c52243f

Provided sensible conversions for setting the value of one AStringContent from another, along with unittest. Updated layout and Translation unittests to run.
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 23 May 2009 15:47:32 +0200
parents 2476790223b8
children bb2f1a76346d
comparison
equal deleted inserted replaced
162:2476790223b8 163:24d77c52243f
77 override IContent content () { 77 override IContent content () {
78 return content_; 78 return content_;
79 } 79 }
80 80
81 override bool dropContent (IContent content) { 81 override bool dropContent (IContent content) {
82 if (content_.setContent (content)) 82 if (content_.set (content))
83 return true; 83 return true;
84 return parent.dropContent (content); 84 return parent.dropContent (content);
85 } 85 }
86 86
87 override void recursionCheck (widgetID wID, IContent c) { 87 override void recursionCheck (widgetID wID, IContent c) {