From: Robert Roebling Date: Fri, 14 Sep 2007 07:58:06 +0000 (+0000) Subject: Fix ending label-editing bug when clicking elsewhere X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ca06242be72141790a03d5e9605fa3d539148be6 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 --- 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) )