mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 00:58:04 +02:00
LCL-GTK2: Don't fire "OnChange" and "OnEditingDone" when TSpinEdit/TFloatSpinEdit lose focus. Issue #41254.
This commit is contained in:
parent
e9df17213c
commit
ce99987f79
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user