diff --git a/src/widgets/AButton.cpp b/src/widgets/AButton.cpp index 165b6d144..d9dc8c169 100644 --- a/src/widgets/AButton.cpp +++ b/src/widgets/AButton.cpp @@ -405,7 +405,8 @@ void AButton::OnMouseEvent(wxMouseEvent & event) if (mEnabled && event.IsButton()) { if (event.ButtonIsDown(wxMOUSE_BTN_ANY)) { mIsClicking = true; - CaptureMouse(); + if( !HasCapture() ) + CaptureMouse(); } else if (mIsClicking) { mIsClicking = false;