From 10f77bc763ab69ae71781068480b49c05dd906de Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Tue, 28 Jun 2016 16:50:29 -0400 Subject: [PATCH] Bug1416, again: Time ruler should not steal focus when clicked --- src/widgets/Ruler.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/widgets/Ruler.cpp b/src/widgets/Ruler.cpp index e9cf113f7..e646be80b 100644 --- a/src/widgets/Ruler.cpp +++ b/src/widgets/Ruler.cpp @@ -2333,10 +2333,6 @@ bool AdornedRulerPanel::IsWithinMarker(int mousePosX, double markerTime) void AdornedRulerPanel::OnMouseEvents(wxMouseEvent &evt) { - // PRL: why do I need these two lines on Windows but not on Mac? - if (evt.ButtonDown(wxMOUSE_BTN_ANY)) - SetFocus(); - // Disable mouse actions on Timeline while recording. if (mIsRecording) { if (HasCapture())