diff options
Diffstat (limited to 'base/window_impl.cc')
-rw-r--r-- | base/window_impl.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/base/window_impl.cc b/base/window_impl.cc index 7438bd9..c3b3ad4 100644 --- a/base/window_impl.cc +++ b/base/window_impl.cc @@ -155,14 +155,7 @@ LRESULT WindowImpl::OnWndProc(UINT message, WPARAM w_param, LPARAM l_param) { // Handle the message if it's in our message map; otherwise, let the system // handle it. if (!ProcessWindowMessage(hwnd_, message, w_param, l_param, result)) - result = DefWindowProc(hwnd_, message, w_param, l_param); - - if (message == WM_NCDESTROY) { - // Notify the subclass that this is the last message before the window - // is destroyed. - OnFinalMessage(hwnd_); - hwnd_ = NULL; - } + result = DefWindowProc(hwnd_, message, w_param, l_param); return result; } |