Mercurial > projects > dwt-linux
diff dwt/widgets/Control.d @ 150:f2e04420fd6c
reworked overrides and superclass aliases
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 31 Jan 2008 19:04:56 +0100 |
parents | 1401263f71b0 |
children | 17f8449522fd |
line wrap: on
line diff
--- a/dwt/widgets/Control.d Sun Jan 27 16:20:03 2008 +0100 +++ b/dwt/widgets/Control.d Thu Jan 31 19:04:56 2008 +0100 @@ -78,6 +78,13 @@ * </p> */ public abstract class Control : Widget, Drawable { + + alias Widget.mnemonicHit mnemonicHit; + alias Widget.mnemonicMatch mnemonicMatch; + alias Widget.setForegroundColor setForegroundColor; + alias Widget.translateTraversal translateTraversal; + alias Widget.windowProc windowProc; + GtkWidget* fixedHandle; GdkWindow* redrawWindow; GdkWindow* enableWindow; @@ -2882,12 +2889,10 @@ return parent.menuShell (); } -alias Widget.mnemonicHit mnemonicHit; bool mnemonicHit (char key) { return false; } -alias Widget.mnemonicMatch mnemonicMatch; bool mnemonicMatch (char key) { return false; } @@ -3507,7 +3512,6 @@ } } -alias Widget.setForegroundColor setForegroundColor; void setForegroundColor (GdkColor* color) { setForegroundColor (handle, color); }