diff options
Diffstat (limited to 'views/controls/native_control.cc')
-rw-r--r-- | views/controls/native_control.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/controls/native_control.cc b/views/controls/native_control.cc index 5fd8349..2df961e 100644 --- a/views/controls/native_control.cc +++ b/views/controls/native_control.cc @@ -367,7 +367,8 @@ LRESULT CALLBACK NativeControl::NativeControlWndProc(HWND window, UINT message, return 0; } else if (message == WM_SETFOCUS) { // Let the focus manager know that the focus changed. - FocusManager* focus_manager = native_control->GetFocusManager(); + FocusManager* focus_manager = + FocusManager::GetFocusManager(native_control->GetNativeControlHWND()); if (focus_manager) { focus_manager->SetFocusedView(native_control); } else { |