[idd] helper/CEditWidget: support enable/disabling edit controls

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2025-11-28 11:51:28 +11:00
1 parent c8de7b27fd
commit 06c490ca72
2 files changed
+7

No files matched your search

+5
View File
@@ -24,6 +24,11 @@ int CEditWidget::getNumericValue()
return std::stoi(getValue());
}
bool CEditWidget::enable(bool enabled)
{
return Edit_Enable(m_hwnd, enabled);
}
void CEditWidget::setValue(const std::wstring &value)
{
if (!Edit_SetText(m_hwnd, value.c_str()))