[idd] helper: implement mode deletion

This commit is contained in:
Quantum
2025-11-08 02:36:56 -05:00
parent dca54a79fd
commit 299703bd52
4 changed files with 64 additions and 31 deletions

View File

@@ -50,3 +50,8 @@ void CListBox::setSel(int index)
if (!ListBox_SetCurSel(m_hwnd, index))
DEBUG_ERROR("listbox: failed to set selection to %d", index);
}
void CListBox::clear()
{
ListBox_ResetContent(m_hwnd);
}