mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 07:00:42 +02:00
win32 interface: fixed range error (HDC: unsigned; WPARAM: signed)
git-svn-id: trunk@10872 -
This commit is contained in:
parent
737f7e6775
commit
4654108191
@ -1358,7 +1358,7 @@ begin
|
||||
and (lWinControl <> nil) then
|
||||
begin
|
||||
// Groupbox (which is a button) doesn't erase it's background properly; force repaint
|
||||
lWinControl.EraseBackground(WParam);
|
||||
lWinControl.EraseBackground(HDC(WParam));
|
||||
LMessage.Result := 1;
|
||||
end else begin
|
||||
LMessage.Msg := LM_ERASEBKGND;
|
||||
|
Loading…
Reference in New Issue
Block a user