]> git.saurik.com Git - wxWidgets.git/commitdiff
Use WXUNUSED and give more explaination for the handler
authorRobin Dunn <robin@alldunn.com>
Sun, 10 Aug 2008 20:54:35 +0000 (20:54 +0000)
committerRobin Dunn <robin@alldunn.com>
Sun, 10 Aug 2008 20:54:35 +0000 (20:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index 0bdc1e54fd03d982337c881432540c3cdc29a94e..8b077662cd589e6f9c22943289d88e5a51acc946 100644 (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,