X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b14a2f79bbabc128c72cba399f11e394aa656b2..9142a5ec3f9e9232d47ef09fe4a3c96f39816dc4:/src/common/mousemanager.cpp diff --git a/src/common/mousemanager.cpp b/src/common/mousemanager.cpp index 0e9475f580..b000c1b468 100644 --- a/src/common/mousemanager.cpp +++ b/src/common/mousemanager.cpp @@ -3,7 +3,6 @@ // Purpose: implementation of wxMouseEventsManager class // Author: Vadim Zeitlin // Created: 2009-04-21 -// RCS-ID: $Id$ // Copyright: (c) 2009 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -103,6 +102,7 @@ void wxMouseEventsManager::OnLeftDown(wxMouseEvent& event) } m_state = State_Pressed; + m_win->SetFocus(); m_win->CaptureMouse(); MouseClickBegin(m_item); }