diff dwt/widgets/Composite.d @ 150:f2e04420fd6c

reworked overrides and superclass aliases
author Frank Benoit <benoit@tionex.de>
date Thu, 31 Jan 2008 19:04:56 +0100
parents eb0144eddf0f
children 17f8449522fd
line wrap: on
line diff
--- a/dwt/widgets/Composite.d	Sun Jan 27 16:20:03 2008 +0100
+++ b/dwt/widgets/Composite.d	Thu Jan 31 19:04:56 2008 +0100
@@ -63,6 +63,16 @@
  * @see Canvas
  */
 public class Composite : Scrollable {
+
+    alias Scrollable.computeSize computeSize;
+    alias Scrollable.fixStyle fixStyle;
+    alias Scrollable.forceFocus forceFocus;
+    alias Scrollable.moveAbove moveAbove;
+    alias Scrollable.moveBelow moveBelow;
+    alias Scrollable.setBounds setBounds;
+    alias Scrollable.translateMnemonic translateMnemonic;
+    alias Scrollable.translateTraversal translateTraversal;
+
     public int  embeddedHandle;
     GtkIMContext* imHandle_;
     GtkWidget* socketHandle;
@@ -218,7 +228,6 @@
     return super.childStyle ();
 }
 
-alias Scrollable.computeSize computeSize;
 override public Point computeSize (int wHint, int hHint, bool changed) {
     checkWidget ();
     if (wHint !is DWT.DEFAULT && wHint < 0) wHint = 0;