fix issue that textbox&spinbox don't update immediately
This commit is contained in:
@@ -738,7 +738,9 @@ namespace drawerbase {
|
||||
if (editor)
|
||||
{
|
||||
editor->text(to_wstring(str), false);
|
||||
API::update_window(this->handle());
|
||||
|
||||
if (editor->try_refresh())
|
||||
API::update_window(this->handle());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user