From 5a86739df22932a2c42d9a9bea6fddbabaabd1d8 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 10 Mar 2006 18:09:22 +0000 Subject: [PATCH] Increase timeout in order to catch slower clicks git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/stc/ScintillaWX.cpp | 2 +- src/stc/ScintillaWX.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/src/stc/ScintillaWX.cpp b/contrib/src/stc/ScintillaWX.cpp index 3bf1d13c43..c9394b9766 100644 --- a/contrib/src/stc/ScintillaWX.cpp +++ b/contrib/src/stc/ScintillaWX.cpp @@ -257,7 +257,7 @@ void ScintillaWX::StartDrag() { // We defer the starting of the DnD, otherwise the LeftUp of a normal // click could be lost and the STC will think it is doing a DnD when the // user just wanted a normal click. - startDragTimer->Start(100, true); + startDragTimer->Start(200, true); #endif // wxUSE_DRAG_AND_DROP } diff --git a/src/stc/ScintillaWX.cpp b/src/stc/ScintillaWX.cpp index 3bf1d13c43..c9394b9766 100644 --- a/src/stc/ScintillaWX.cpp +++ b/src/stc/ScintillaWX.cpp @@ -257,7 +257,7 @@ void ScintillaWX::StartDrag() { // We defer the starting of the DnD, otherwise the LeftUp of a normal // click could be lost and the STC will think it is doing a DnD when the // user just wanted a normal click. - startDragTimer->Start(100, true); + startDragTimer->Start(200, true); #endif // wxUSE_DRAG_AND_DROP }