Mercurial > projects > dwt-win
diff dwt/widgets/Decorations.d @ 263:27244095ce14
Fix struct sizes, based on a comparison to the values seen by C apps.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 26 Jul 2008 02:08:41 +0200 |
parents | fd9c62a2998e |
children | da968414c383 |
line wrap: on
line diff
--- a/dwt/widgets/Decorations.d Thu Jul 24 23:02:48 2008 +0200 +++ b/dwt/widgets/Decorations.d Sat Jul 26 02:08:41 2008 +0200 @@ -1304,7 +1304,7 @@ if ((style & DWT.CLOSE) is 0 || newCount !is oldCount) { OS.DeleteMenu (hMenu, OS.SC_TASKLIST, OS.MF_BYCOMMAND); MENUITEMINFO info; - info.cbSize = MENUITEMINFO.sizeof; + info.cbSize = OS.MENUITEMINFO_sizeof; info.fMask = OS.MIIM_ID; int index = 0; while (index < newCount) {