diff dwt/widgets/Display.d @ 39:f5e70f9aeeda

Decorations
author Frank Benoit <benoit@tionex.de>
date Fri, 01 Feb 2008 17:45:36 +0100
parents e3a5d61b33cd
children 0f25be5cbe6f
line wrap: on
line diff
--- a/dwt/widgets/Display.d	Fri Feb 01 16:16:51 2008 +0100
+++ b/dwt/widgets/Display.d	Fri Feb 01 17:45:36 2008 +0100
@@ -210,12 +210,12 @@
     }
 
     /* Startup info */
-    static STARTUPINFO lpStartupInfo;
+    static STARTUPINFO* lpStartupInfo;
     static this() {
         static if (!OS.IsWinCE) {
-            //lpStartupInfo = new STARTUPINFO ();
+            lpStartupInfo = new STARTUPINFO ();
             lpStartupInfo.cb = STARTUPINFO.sizeof;
-            OS.GetStartupInfo (&lpStartupInfo);
+            OS.GetStartupInfo (lpStartupInfo);
         }
     }
 
@@ -3387,7 +3387,7 @@
  */
 public bool readAndDispatch () {
     checkDevice ();
-    //lpStartupInfo = null;
+    lpStartupInfo = null;
     drawMenuBars ();
     runPopups ();
     if (OS.PeekMessage (&msg, null, 0, 0, OS.PM_REMOVE)) {