diff dwt/widgets/Control.d @ 75:f824f1836871

Tree
author Frank Benoit <benoit@tionex.de>
date Tue, 05 Feb 2008 03:50:39 +0100
parents 0f25be5cbe6f
children 205350493476
line wrap: on
line diff
--- a/dwt/widgets/Control.d	Tue Feb 05 00:15:31 2008 +0100
+++ b/dwt/widgets/Control.d	Tue Feb 05 03:50:39 2008 +0100
@@ -1012,7 +1012,7 @@
     if (lpwp is null) return;
     for (int i=0; i<lpwp.length; i++) {
         WINDOWPOS* wp = lpwp [i];
-        if (wp !is null && wp.hwnd is handle) {
+        if (wp !is null && wp._hwnd is handle) {
             /*
             * This code is intentionally commented.  All widgets that
             * are created by DWT have WS_CLIPSIBLINGS to ensure that
@@ -1023,7 +1023,7 @@
 //              int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
 //              if ((bits & OS.WS_CLIPSIBLINGS) is 0) wp.flags |= OS.SWP_NOCOPYBITS;
 //          }
-            SetWindowPos (wp.hwnd, null, wp.x, wp.y, wp.cx, wp.cy, wp.flags);
+            SetWindowPos (wp._hwnd, null, wp.x, wp.y, wp.cx, wp.cy, wp.flags);
             lpwp [i] = null;
             return;
         }
@@ -2572,7 +2572,7 @@
                 parent.lpwp = lpwp = newLpwp;
             }
             WINDOWPOS* wp = new WINDOWPOS;
-            wp.hwnd = topHandle_;
+            wp._hwnd = topHandle_;
             wp.x = x;
             wp.y = y;
             wp.cx = width;