mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-31 00:16:23 +02:00
cocoa: passing the checkminmax value
(cherry picked from commit e8614c81e9
)
This commit is contained in:
parent
5e1fcd37e0
commit
eb16a093a9
@ -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