Mercurial > projects > dwt-linux
diff dwt/widgets/TableItem.d @ 152:17f8449522fd
overloads second walkthrough
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 31 Jan 2008 23:19:20 +0100 |
parents | f2e04420fd6c |
children | de2578a843a7 |
line wrap: on
line diff
--- a/dwt/widgets/TableItem.d Thu Jan 31 20:26:30 2008 +0100 +++ b/dwt/widgets/TableItem.d Thu Jan 31 23:19:20 2008 +0100 @@ -134,7 +134,7 @@ return control; } -protected void checkSubclass () { +protected override void checkSubclass () { if (!isValidSubclass ()) error (DWT.ERROR_INVALID_SUBCLASS); } @@ -161,7 +161,7 @@ cellFont = null; } -void destroyWidget () { +override void destroyWidget () { parent.destroyItem (this); releaseHandle (); } @@ -567,7 +567,7 @@ return 0; } -char[] getNameText () { +override char[] getNameText () { if ((parent.style & DWT.VIRTUAL) !is 0) { if (!cached) return "*virtual*"; //$NON-NLS-1$ } @@ -716,14 +716,14 @@ } } -void releaseHandle () { +override void releaseHandle () { if (handle !is null) OS.g_free (handle); handle = null; super.releaseHandle (); parent = null; } -void releaseWidget () { +override void releaseWidget () { super.releaseWidget (); font = null; cellFont = null;