From ca06242be72141790a03d5e9605fa3d539148be6 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 14 Sep 2007 07:58:06 +0000 Subject: [PATCH] Fix ending label-editing bug when clicking elsewhere git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 4258b7f24f..7dc1df388d 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -3010,7 +3010,7 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event ) #endif // __WXMAC__ if ( event.LeftDown() ) - SetFocus(); + SetFocusIgnoringChildren(); event.SetEventObject( GetParent() ); if ( GetParent()->GetEventHandler()->ProcessEvent( event) ) -- 2.50.0