From 78806f0c419475ec96eaaf9d657c689c64030681 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sun, 10 Aug 2008 20:54:35 +0000 Subject: [PATCH] Use WXUNUSED and give more explaination for the handler git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 0bdc1e54fd..8b077662cd 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2860,9 +2860,11 @@ void wxListMainWindow::HighlightAll( bool on ) } } -void wxListMainWindow::OnChildFocus(wxChildFocusEvent& event) +void wxListMainWindow::OnChildFocus(wxChildFocusEvent& WXUNUSED(event)) { - // do nothing + // Do nothing here. This prevents the default handler in wxScrolledWindow + // from needlessly scrolling the window when the edit control is + // dismissed. See ticket #9563. } void wxListMainWindow::SendNotify( size_t line, -- 2.45.2