mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 18:36:10 +02:00
(Qt): Fix for but #9367 - PaintStructure msg initialization.
git-svn-id: trunk@11746 -
This commit is contained in:
parent
990340aad8
commit
46f8083546
@ -1596,8 +1596,14 @@ begin
|
||||
QPaintEvent_Rect(QPaintEventH(Event), ClipRect);
|
||||
end;
|
||||
|
||||
|
||||
Msg.DC := BeginPaint(THandle(Self), AStruct^);
|
||||
FContext := Msg.DC;
|
||||
|
||||
Msg.PaintStruct^.rcPaint := PaintData.ClipRect^;
|
||||
Msg.PaintStruct^.hdc := FContext;
|
||||
|
||||
|
||||
with getClientBounds do
|
||||
SetWindowOrgEx(Msg.DC, -Left, -Top, nil);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user