Mercurial > projects > mde
diff mde/gui/widget/miscContent.d @ 177:af40e9679436
Release-clicks don't cause problems now.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sat, 12 Sep 2009 09:50:33 +0200 |
parents | d5d5fe04ca6c |
children |
line wrap: on
line diff
--- a/mde/gui/widget/miscContent.d Sat Sep 12 09:14:43 2009 +0200 +++ b/mde/gui/widget/miscContent.d Sat Sep 12 09:50:33 2009 +0200 @@ -119,8 +119,8 @@ return super.clickEvent (cx,cy, b, state) | 4; } - override bool dragRelease (wdabs cx, wdabs cy, IChildWidget widg) { - super.dragRelease (cx, cy, widg); + override bool dragRelease (wdabs cx, wdabs cy, ubyte b, IChildWidget widg) { + super.dragRelease (cx, cy, b, widg); if (widg !is this) { // don't copy content to self widg.dropContent (content_); }