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
This commit is contained in:
Robert Roebling
2007-09-14 07:58:06 +00:00
parent 1d59165194
commit ca06242be7

View File

@@ -3010,7 +3010,7 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event )
#endif // __WXMAC__
if ( event.LeftDown() )
SetFocus();
SetFocusIgnoringChildren();
event.SetEventObject( GetParent() );
if ( GetParent()->GetEventHandler()->ProcessEvent( event) )