Mercurial > projects > mde
diff mde/gui/widget/ParentContent.d @ 168:da8d3091fdaf
More work on the context menu: now roughly usable like an ordinary context menu.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Mon, 29 Jun 2009 18:45:58 +0200 |
parents | bb2f1a76346d |
children | e45226d3deae |
line wrap: on
line diff
--- a/mde/gui/widget/ParentContent.d Sat Jun 27 11:57:26 2009 +0200 +++ b/mde/gui/widget/ParentContent.d Mon Jun 29 18:45:58 2009 +0200 @@ -423,7 +423,7 @@ debug assert (cx >= x && cx < x + w && cy >= y && cy < y + h, "getWidget: not on widget (code error)"); if (subWidgets[0].onSelf (cx, cy)) - return subWidgets[0]; + return subWidgets[0].getWidget (cx, cy); else return this; }