diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 0b7905dcf3..d96d2cbff2 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2964,6 +2964,9 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event ) m_textctrlWrapper->AcceptChangesAndFinish(); #endif // __WXMAC__ + if ( event.LeftDown() ) + SetFocus(); + event.SetEventObject( GetParent() ); if ( GetParent()->GetEventHandler()->ProcessEvent( event) ) return;