mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 11:00:33 +02:00
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:
parent
bc3ac28658
commit
86d076e59b
@ -1423,7 +1423,7 @@ begin
|
|||||||
lWinControl := WindowInfo^.WinControl;
|
lWinControl := WindowInfo^.WinControl;
|
||||||
{$IFDEF MSG_DEBUG}
|
{$IFDEF MSG_DEBUG}
|
||||||
with PDrawItemStruct(LParam)^ do
|
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}
|
{$ENDIF}
|
||||||
|
|
||||||
if (lWinControl<>nil) and
|
if (lWinControl<>nil) and
|
||||||
|
@ -1338,7 +1338,7 @@ begin
|
|||||||
lWinControl := WindowInfo^.WinControl;
|
lWinControl := WindowInfo^.WinControl;
|
||||||
{$IFDEF MSG_DEBUG}
|
{$IFDEF MSG_DEBUG}
|
||||||
with PDrawItemStruct(LParam)^ do
|
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}
|
{$ENDIF}
|
||||||
|
|
||||||
if ((lWinControl is TCustomListbox) and
|
if ((lWinControl is TCustomListbox) and
|
||||||
|
Loading…
Reference in New Issue
Block a user