Qt: trial to fix #19881 under 64bit.

git-svn-id: trunk@32092 -
This commit is contained in:
zeljko 2011-08-29 09:40:06 +00:00
parent c7a0468f7e
commit a508edf92f
2 changed files with 4 additions and 4 deletions

View File

@ -8752,7 +8752,7 @@ end;
procedure TQtFloatSpinBox.SignalValueChanged(p1: Double); cdecl;
var
Msg: TLMessage;
Msg: TLMessage;
begin
FValue := p1;
FillChar(Msg, SizeOf(Msg), #0);
@ -8826,7 +8826,7 @@ end;
procedure TQtSpinBox.SignalValueChanged(p1: Integer); cdecl;
var
Msg: TLMessage;
Msg: TLMessage;
begin
FValue := p1;
FillChar(Msg, SizeOf(Msg), #0);

View File

@ -102,9 +102,9 @@ begin
QtSpinBox := TQtSpinBox.Create(AWinControl, AParams);
QtSpinBox.setBorder(TCustomFloatSpinEdit(AWinControl).BorderStyle = bsSingle);
QtSpinBox.AttachEvents;
InternalUpdateControl(QtSpinBox, TCustomFloatSpinEdit(AWinControl));
QtSpinBox.AttachEvents;
Result := TLCLIntfHandle(QtSpinBox);
end;