mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 15:10:16 +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,6 +1287,7 @@ begin
|
|||||||
itemindex is updated, so set text manually }
|
itemindex is updated, so set text manually }
|
||||||
CBN_SELCHANGE:
|
CBN_SELCHANGE:
|
||||||
begin
|
begin
|
||||||
|
if TCustomComboBox(lWinControl).Style in [csSimple, csDropDown] then
|
||||||
UpdateComboBoxText(TCustomComboBox(lWinControl));
|
UpdateComboBoxText(TCustomComboBox(lWinControl));
|
||||||
SendSimpleMessage(lWinControl, LM_CHANGED);
|
SendSimpleMessage(lWinControl, LM_CHANGED);
|
||||||
LMessage.Msg := LM_SELCHANGE;
|
LMessage.Msg := LM_SELCHANGE;
|
||||||
|
Loading…
Reference in New Issue
Block a user