Qt: do not pass OnChange to LCL when value is setted up for the first time under 64bit. issue #19881

git-svn-id: trunk@32698 -
This commit is contained in:
zeljko 2011-10-05 08:30:49 +00:00
parent 181a9fa84b
commit f69330e51e

View File

@ -914,7 +914,7 @@ type
TQtAbstractSpinBox = class(TQtWidget, IQtEdit)
private
{$ifdef CPU64 and not WIN64}
FParentShowPassed: Integer;
FParentShowPassed: PtrInt;
{$endif}
FEditingFinishedHook: QAbstractSpinBox_hookH;
// parts
@ -8694,7 +8694,9 @@ begin
if QEvent_type(Event) <> QEventPaint then
begin
inc(FParentShowPassed);
BeginUpdate;
setValue(getValue);
EndUpdate;
end;
end;