FIX:update SyncAmsInfoDialog

jira: none
Change-Id: I8c34d47e799c56e2b1887794dc8a7bfaf8904d77
(cherry picked from commit e06aed7cbf144cdd77f9b7caa160c1c7f7941794)
This commit is contained in:
zhou.xu
2025-01-14 16:07:51 +08:00
committed by Noisyfox
parent 7889dddee8
commit 2e8a5ecd87
10 changed files with 130 additions and 21 deletions

View File

@@ -133,6 +133,19 @@ wxString ComboBox::GetLabel() const
return TextInput::GetLabel();
}
int ComboBox::GetFlag(unsigned int n)
{
if (n >= items.size())
return -1;
return items[n].flag;
}
void ComboBox::SetFlag(unsigned int n, int value) {
if (n >= items.size()) return;
items[n].flag = value;
drop.Invalidate();
}
void ComboBox::SetTextLabel(const wxString& label)
{
TextInput::SetLabel(label);