mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 10:09:29 +02:00
win32: remove last constraint code for csSimple combobox
git-svn-id: trunk@14243 -
This commit is contained in:
parent
3d629400eb
commit
19820828de
@ -785,9 +785,12 @@ var
|
||||
StringList: TWin32ComboBoxStringList;
|
||||
begin
|
||||
WinHandle := AWinControl.Handle;
|
||||
StringList := TWin32ComboBoxStringList(GetWindowInfo(WinHandle)^.List);
|
||||
if StringList <> nil then
|
||||
Height := StringList.ComboHeight;
|
||||
if TCustomComboBox(AWinControl).Style <> csSimple then
|
||||
begin
|
||||
StringList := TWin32ComboBoxStringList(GetWindowInfo(WinHandle)^.List);
|
||||
if StringList <> nil then
|
||||
Height := StringList.ComboHeight;
|
||||
end;
|
||||
end;
|
||||
|
||||
class procedure TWin32WSCustomComboBox.GetPreferredSize(
|
||||
|
Loading…
Reference in New Issue
Block a user