FIX: support key event in ComboBox

Change-Id: Iac5f114ff45123f0a6b1bc24ef289a6112475183
This commit is contained in:
chunmao.guo 2022-07-28 11:08:59 +08:00 committed by Lane.Wei
parent 6a08c2d509
commit 93cbd5173f
3 changed files with 63 additions and 6 deletions

View file

@ -71,7 +71,9 @@ void DropDown::SetSelection(int n)
assert(n < (int) texts.size());
if (n >= (int) texts.size())
n = -1;
if (selection == n) return;
selection = n;
paintNow();
}
wxString DropDown::GetValue() const