Mercurial > projects > mde
diff mde/gui/widget/miscContent.d @ 170:e45226d3deae
Context menu services not applicable to the current type can now be hidden.
Added files missing from previous commits.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Mon, 29 Jun 2009 21:20:16 +0200 |
parents | 55667d048c31 |
children | 0dd49f333189 |
line wrap: on
line diff
--- a/mde/gui/widget/miscContent.d Mon Jun 29 18:55:50 2009 +0200 +++ b/mde/gui/widget/miscContent.d Mon Jun 29 21:20:16 2009 +0200 @@ -37,7 +37,7 @@ class BoolContentWidget : AButtonWidget { this (IWidgetManager mgr, IParentWidget parent, widgetID id, WidgetData, IContent c) { - content_ = cast(BoolContent) c; + content_ = cast(IBoolContent) c; if (content_ is null) throw new ContentException (this); super (mgr, parent, id); wdimPair s = mgr.renderer.getToggleSize; @@ -65,7 +65,7 @@ } protected: - BoolContent content_; + IBoolContent content_; } /// A button connected to an EventContent