LCL/CheckCombobox: Fix typos.

This commit is contained in:
wp_xyz 2021-10-15 16:12:23 +02:00
parent bc0b673eb6
commit 624dbca789

View File

@ -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.