mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:39:30 +02:00
win32: fix selecting items that differs only in case in combobox. Issue #16816.
git-svn-id: trunk@34100 -
This commit is contained in:
parent
649fbe7f16
commit
327e84b060
@ -1287,7 +1287,8 @@ begin
|
||||
itemindex is updated, so set text manually }
|
||||
CBN_SELCHANGE:
|
||||
begin
|
||||
UpdateComboBoxText(TCustomComboBox(lWinControl));
|
||||
if TCustomComboBox(lWinControl).Style in [csSimple, csDropDown] then
|
||||
UpdateComboBoxText(TCustomComboBox(lWinControl));
|
||||
SendSimpleMessage(lWinControl, LM_CHANGED);
|
||||
LMessage.Msg := LM_SELCHANGE;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user