(Qt): Fix workaround for TCustomPage->mouseGrab().

git-svn-id: trunk@11682 -
This commit is contained in:
zeljko 2007-07-30 20:37:19 +00:00
parent a8aec5de63
commit 04d0286c73

View File

@ -3909,9 +3909,9 @@ begin
begin
{TODO: freezing workaround, ttabsheet kills mouse at all (X & app),
when we click onto empty tabsheet.
don't know for others , so it's ifdef-ed}
don't know for others , so it's ifdef-ed for linux}
{$ifdef linux}
if not (TQtWidget(AHandle).LCLObject is TTabSheet) then
if not (TQtWidget(AHandle).LCLObject.InheritsFrom(TCustomPage)) then
{$endif}
TQtWidget(AHandle).grabMouse();
end;