LCL-GTK2: Don't fire "OnChange" and "OnEditingDone" when TSpinEdit/TFloatSpinEdit lose focus. Issue #41254.

This commit is contained in:
Juha 2024-11-22 23:35:08 +02:00
parent e9df17213c
commit ce99987f79

View File

@ -196,7 +196,6 @@ var
wHandle: HWND;
SpinWidget: PGtkSpinButton;
AMin, AMax: Double;
Mess: TLMessage;
begin
//DebugLn(['TGtkWSCustomFloatSpinEdit.UpdateControl ',dbgsName(ACustomFloatSpinEdit)]);
if not WSCheckHandleAllocated(ACustomFloatSpinEdit, 'UpdateControl') then
@ -233,10 +232,6 @@ begin
end;
SetReadOnly(TCustomEdit(ACustomFloatSpinEdit), ACustomFloatSpinEdit.ReadOnly);
FillByte(Mess{%H-},SizeOf(Mess),0);
Mess.Msg := CM_TEXTCHANGED;
DeliverMessage(ACustomFloatSpinEdit, Mess);
end;
class function TGtk2WSCustomFloatSpinEdit.CreateHandle(