win32 and wince interface: fixed range check error, array of const parameters don't accept unsigned 32 bits integers (issue #15815)

git-svn-id: trunk@23890 -
This commit is contained in:
vincents 2010-03-09 15:30:05 +00:00
parent bc3ac28658
commit 86d076e59b
2 changed files with 2 additions and 2 deletions

View File

@ -1423,7 +1423,7 @@ begin
lWinControl := WindowInfo^.WinControl;
{$IFDEF MSG_DEBUG}
with PDrawItemStruct(LParam)^ do
debugln(format('Received WM_DRAWITEM type %d handle %x', [ctlType, hwndItem]));
debugln(format('Received WM_DRAWITEM type %d handle %x', [ctlType, integer(hwndItem)]));
{$ENDIF}
if (lWinControl<>nil) and

View File

@ -1338,7 +1338,7 @@ begin
lWinControl := WindowInfo^.WinControl;
{$IFDEF MSG_DEBUG}
with PDrawItemStruct(LParam)^ do
writeln(format('Received WM_DRAWITEM type %d handle %x', [ctlType, hwndItem]));
writeln(format('Received WM_DRAWITEM type %d handle %x', [ctlType, integer(hwndItem)]));
{$ENDIF}
if ((lWinControl is TCustomListbox) and