mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 11:00:37 +02:00
Carbon: assign Ps.hdc in carbonwinapi BeginPaint, fixes few crashes
git-svn-id: trunk@33946 -
This commit is contained in:
parent
3860a587ee
commit
df502ab1be
@ -43,6 +43,7 @@ end;
|
||||
function TCarbonWidgetSet.BeginPaint(Handle: hWnd; var PS: TPaintStruct): hdc;
|
||||
begin
|
||||
Result:=inherited BeginPaint(Handle, PS);
|
||||
PS.hdc:=Result;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user