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
This commit is contained in:
Robin Dunn 2008-08-10 20:54:35 +00:00
parent 4cdf71be82
commit 78806f0c41

View File

@ -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,