mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-01-18 17:52:30 +00:00
[idd] helper/CEditWidget: support enable/disabling edit controls
This commit is contained in:
@@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user