mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-23 20:22:04 +00:00
FIX:update SyncAmsInfoDialog
jira: none Change-Id: I8c34d47e799c56e2b1887794dc8a7bfaf8904d77 (cherry picked from commit e06aed7cbf144cdd77f9b7caa160c1c7f7941794)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user