diff dwt/widgets/Layout.d @ 37:642f460a0908

Fixed a lot of compile errors, a "hello world" app compiles now
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Fri, 10 Oct 2008 12:29:48 +0200
parents 2952d5604c0a
children d8635bb48c7c
line wrap: on
line diff
--- a/dwt/widgets/Layout.d	Tue Oct 07 12:56:18 2008 +0200
+++ b/dwt/widgets/Layout.d	Fri Oct 10 12:29:48 2008 +0200
@@ -62,7 +62,7 @@
  * @see Control#pack(bool)
  * @see "computeTrim, getClientArea for controls that implement them"
  */
-protected abstract Point computeSize (Composite composite, int wHint, int hHint, bool flushCache);
+public abstract Point computeSize (Composite composite, int wHint, int hHint, bool flushCache);
 
 /**
  * Instruct the layout to flush any cached values
@@ -74,7 +74,7 @@
  * 
  * @since 3.1
  */
-protected bool flushCache (Control control) {
+public bool flushCache (Control control) {
     return false;
 }
 
@@ -106,5 +106,5 @@
  * @param composite a composite widget using this layout
  * @param flushCache <code>true</code> means flush cached layout values
  */
-protected abstract void layout (Composite composite, bool flushCache);
+public abstract void layout (Composite composite, bool flushCache);
 }