Mercurial > projects > dwt-win
comparison dwt/widgets/Display.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 | dab11c87b97e |
children | 810b16d6559b |
comparison
equal
deleted
inserted
replaced
262:59f6b9f052ff | 263:27244095ce14 |
---|---|
4615 if (msg is OS.WM_NOTIFY && hwndParent is hwnd) { | 4615 if (msg is OS.WM_NOTIFY && hwndParent is hwnd) { |
4616 OS.MoveMemory (hdr, lParam, NMHDR.sizeof); | 4616 OS.MoveMemory (hdr, lParam, NMHDR.sizeof); |
4617 switch (hdr.code) { | 4617 switch (hdr.code) { |
4618 case OS.LVN_GETDISPINFOA: | 4618 case OS.LVN_GETDISPINFOA: |
4619 case OS.LVN_GETDISPINFOW: { | 4619 case OS.LVN_GETDISPINFOW: { |
4620 OS.MoveMemory (plvfi, lParam, NMLVDISPINFO.sizeof); | 4620 OS.MoveMemory (plvfi, lParam, OS.NMLVDISPINFO_sizeof); |
4621 if (0 <= plvfi.item.iSubItem && plvfi.item.iSubItem < columnCount) { | 4621 if (0 <= plvfi.item.iSubItem && plvfi.item.iSubItem < columnCount) { |
4622 if (!columnVisible [plvfi.item.iSubItem]) return 0; | 4622 if (!columnVisible [plvfi.item.iSubItem]) return 0; |
4623 } | 4623 } |
4624 break; | 4624 break; |
4625 } | 4625 } |