FIX: combox can not pop if hide with entry keyevent

Change-Id: I0b86ebadd524eafb69ba810f7a1b899ecb25914c
This commit is contained in:
chunmao.guo 2022-10-14 08:49:00 +08:00 committed by Lane.Wei
parent 84a4622fdf
commit 48aed7fbe5
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ void ComboBox::keyDown(wxKeyEvent& event)
case WXK_RETURN:
case WXK_SPACE:
if (drop_down) {
drop.Hide();
drop.DismissAndNotify();
} else if (drop.HasDismissLongTime()) {
drop.autoPosition();
drop_down = true;