diff options
Diffstat (limited to 'views/window/window_win.cc')
-rw-r--r-- | views/window/window_win.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/views/window/window_win.cc b/views/window/window_win.cc index e1817e4..d421647 100644 --- a/views/window/window_win.cc +++ b/views/window/window_win.cc @@ -366,9 +366,8 @@ LRESULT WindowWin::OnAppCommand(HWND window, short app_command, WORD device, int keystate) { // We treat APPCOMMAND ids as an extension of our command namespace, and just // let the delegate figure out what to do... - if (!GetWindow()->window_delegate()->ExecuteWindowsCommand(app_command)) - return WidgetWin::OnAppCommand(window, app_command, device, keystate); - return 0; + return GetWindow()->window_delegate()->ExecuteWindowsCommand(app_command) || + WidgetWin::OnAppCommand(window, app_command, device, keystate); } void WindowWin::OnClose() { |