diff --git a/lcl/interfaces/win32/win32wsstdctrls.pp b/lcl/interfaces/win32/win32wsstdctrls.pp index 6ddbff83e9..f1577b8a24 100644 --- a/lcl/interfaces/win32/win32wsstdctrls.pp +++ b/lcl/interfaces/win32/win32wsstdctrls.pp @@ -1182,6 +1182,9 @@ begin begin //Use CB_SETMINVISIBLE in vista or above SendMessage(ACustomComboBox.Handle, CB_SETMINVISIBLE, NewCount, 0); + //Issue #37670: Fix DropDownCount not changing when Style=csDropDownList + if not (ACustomComboBox.Style in [csSimple, csDropDown, csOwnerDrawEditableFixed]) then + RecreateWnd(ACustomCombobox); end else begin