mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: support key event in ComboBox
Change-Id: Iac5f114ff45123f0a6b1bc24ef289a6112475183
This commit is contained in:
parent
6a08c2d509
commit
93cbd5173f
3 changed files with 63 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue