Tests: test for PageControl, workaround missing button paint in QT

git-svn-id: trunk@42690 -
This commit is contained in:
martin 2013-09-08 23:27:01 +00:00
parent dea1487f68
commit 0dcfe25d4f

View File

@ -153,7 +153,9 @@ begin
try try
Result := WMPaintCalled; Result := WMPaintCalled;
if (TestLabel <> nil) and (Result <> TestLabel.DidPaint) then exit(-1); if (TestLabel <> nil) and (Result <> TestLabel.DidPaint) then exit(-1);
{$IfNDef LCLQT}
if (TestButton <> nil) and (Result <> TestButton.DidPaint) then exit(-1); if (TestButton <> nil) and (Result <> TestButton.DidPaint) then exit(-1);
{$EndIf}
finally finally
ResetCounts; ResetCounts;
end; end;