* Called when window gains focus */
| 513 | * Called when window gains focus |
| 514 | */ |
| 515 | void Window::OnFocus() |
| 516 | { |
| 517 | if (this->nested_focus != nullptr && this->nested_focus->type == WWT_EDITBOX) VideoDriver::GetInstance()->EditBoxGainedFocus(); |
| 518 | } |
| 519 | |
| 520 | /** |
| 521 | * Called when window loses focus |
no test coverage detected