LCL: if WMWindowPosChanged message does not come from interface, ignore

git-svn-id: trunk@24978 -
This commit is contained in:
mattias 2010-04-26 17:41:30 +00:00
parent 3fddde242b
commit 4111aa2aef

View File

@ -6871,8 +6871,10 @@ begin
' BoundsRealized=',dbgs(FBoundsRealized),' FromIntf=',(Message.WindowPos^.flags and SWP_SourceIsInterface)>0,' ClientRectInvalid=',ClientRectNeedsInterfaceUpdate]);
{$ENDIF}
if ((Message.WindowPos^.flags and SWP_SourceIsInterface) = 0) then
if ((Message.WindowPos^.flags and SWP_SourceIsInterface) = 0) then begin
inherited WMWindowPosChanged(Message);
exit;
end;
// interface widget has moved/resized
// -> update realized bounds