Qt: do not send dummy resize event for normal groupboxes.

git-svn-id: trunk@24871 -
This commit is contained in:
zeljko 2010-04-24 11:17:49 +00:00
parent 448bdf7bb4
commit f8c5380113

View File

@ -5023,7 +5023,8 @@ begin
LCLObject.DoAdjustClientRectChange(False);
SlotShow(True);
{send dummy LM_SIZE to LCL}
if LCLObject.ClientRectNeedsInterfaceUpdate then
if (FGroupBoxType <> tgbtNormal) and
LCLObject.ClientRectNeedsInterfaceUpdate then
begin
OldSize.cx := LCLObject.Height;
OldSize.cy := LCLObject.Width;