mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-21 05:01:50 +02:00
cocoa: passing the checkminmax value
This commit is contained in:
parent
1bef01e030
commit
e8614c81e9
@ -45,7 +45,7 @@ implementation
|
|||||||
|
|
||||||
procedure UpdateControlLCLToCocoa(src: TCustomFloatSpinEdit; dst: TCocoaSpinEdit);
|
procedure UpdateControlLCLToCocoa(src: TCustomFloatSpinEdit; dst: TCocoaSpinEdit);
|
||||||
begin
|
begin
|
||||||
dst.UpdateControl(src.MinValue, src.MaxValue, src.Increment, src.Value, src.DecimalPlaces);
|
dst.UpdateControl(src.MinValue, src.MaxValue, src.Increment, src.Value, src.DecimalPlaces, src.MinValue <> src.MaxValue);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ TCocoaWSCustomFloatSpinEdit }
|
{ TCocoaWSCustomFloatSpinEdit }
|
||||||
|
Loading…
Reference in New Issue
Block a user