X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b14a2f79bbabc128c72cba399f11e394aa656b2..d90443b8a2099cf0e8e5fec31571d0ba1c0818a9:/src/common/mousemanager.cpp?ds=inline diff --git a/src/common/mousemanager.cpp b/src/common/mousemanager.cpp index 0e9475f580..20849a0167 100644 --- a/src/common/mousemanager.cpp +++ b/src/common/mousemanager.cpp @@ -103,6 +103,7 @@ void wxMouseEventsManager::OnLeftDown(wxMouseEvent& event) } m_state = State_Pressed; + m_win->SetFocus(); m_win->CaptureMouse(); MouseClickBegin(m_item); }