mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 22:30:39 +02:00
LCL/CheckCombobox: Fix typos.
This commit is contained in:
parent
bc0b673eb6
commit
624dbca789
@ -18,9 +18,9 @@ uses
|
|||||||
ComboEx, WSComboEx;
|
ComboEx, WSComboEx;
|
||||||
|
|
||||||
type
|
type
|
||||||
{ TCocoaCustomComboBoxEx }
|
{ TCocoaWSCustomComboBoxEx }
|
||||||
|
|
||||||
TCocoaCustomComboBoxEx = class(TWSCustomComboBoxEx)
|
TCocoaWSCustomComboBoxEx = class(TWSCustomComboBoxEx)
|
||||||
published
|
published
|
||||||
class function GetFocusedEditableMainItemNoDD(const ACombo: TCustomComboboxEx;
|
class function GetFocusedEditableMainItemNoDD(const ACombo: TCustomComboboxEx;
|
||||||
ADroppedDown, AMainItem: Boolean): boolean; override;
|
ADroppedDown, AMainItem: Boolean): boolean; override;
|
||||||
@ -55,11 +55,10 @@ begin
|
|||||||
Result := ACombo.Focused and (ALeft > 0) and not ADroppedDown;
|
Result := ACombo.Focused and (ALeft > 0) and not ADroppedDown;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
class procedure TWin32WSCustomCheckCombo.GetRejectToggleOnSelect(
|
class function TCocoaWSCustomCheckCombo.GetRejectDropdown(
|
||||||
const ACombo: TCustomCheckCombo; var AResult: Boolean);
|
const ACombo: TCustomCheckCombo; ALeft, ARight: Integer): Boolean;
|
||||||
begin
|
begin
|
||||||
if ACombo.DroppedDown then AResult := true;
|
Result := false;
|
||||||
// AResult := false;
|
end;
|
||||||
end;
|
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user