Mercurial > projects > dwt-addons
diff dwtx/jface/viewers/TableLayout.d @ 43:ea8ff534f622
Fix override and super aliases
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 11 Apr 2008 01:24:25 +0200 |
parents | b6c35faf97c8 |
children | 7943b8e4206d |
line wrap: on
line diff
--- a/dwtx/jface/viewers/TableLayout.d Thu Apr 10 19:10:12 2008 +0200 +++ b/dwtx/jface/viewers/TableLayout.d Fri Apr 11 01:24:25 2008 +0200 @@ -84,7 +84,7 @@ /* * (non-Javadoc) Method declared on Layout. */ - public Point computeSize(Composite c, int wHint, int hHint, bool flush) { + public override Point computeSize(Composite c, int wHint, int hHint, bool flush) { if (wHint !is DWT.DEFAULT && hHint !is DWT.DEFAULT) { return new Point(wHint, hHint); } @@ -119,7 +119,7 @@ /* * (non-Javadoc) Method declared on Layout. */ - public void layout(Composite c, bool flush) { + public override void layout(Composite c, bool flush) { // Only do initial layout. Trying to maintain proportions when resizing // is too hard, // causes lots of widget flicker, causes scroll bars to appear and