diff --git a/src/widgets/AButton.cpp b/src/widgets/AButton.cpp index 5f82ef5e4..08e7a7b88 100644 --- a/src/widgets/AButton.cpp +++ b/src/widgets/AButton.cpp @@ -467,7 +467,7 @@ void AButton::OnMouseEvent(wxMouseEvent & event) event.m_x < clientSize.x && event.m_y < clientSize.y); if (mEnabled && event.IsButton()) { - if (event.ButtonIsDown(wxMOUSE_BTN_ANY)) { + if (event.ButtonIsDown(wxMOUSE_BTN_LEFT)) { mIsClicking = true; if (event.ButtonDClick()) mIsDoubleClicked = true;