Index: views/widget/widget_win.cc |
=================================================================== |
--- views/widget/widget_win.cc (revision 23672) |
+++ views/widget/widget_win.cc (working copy) |
@@ -913,7 +913,11 @@ |
if (ProcessNativeControlMessage(message, w_param, l_param, &result)) |
return result; |
- result = base::WindowImpl::OnWndProc(message, w_param, l_param); |
+ // Otherwise we handle everything else. |
+ if (!ProcessWindowMessage(window, message, w_param, l_param, result)) |
+ result = DefWindowProc(window, message, w_param, l_param); |
+ if (message == WM_NCDESTROY) |
+ OnFinalMessage(window); |
if (message == WM_ACTIVATE) |
PostProcessActivateMessage(this, LOWORD(w_param)); |
return result; |