From eafa7bd1d5d7ed4d2cac42a760416cbba00a93cc Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 5 Oct 2000 11:43:41 +0000 Subject: Mouse capture doesn't always call ::GetCapture. Better line selection handling. --- win32/ScintillaWin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'win32') diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index bdbba762c..dc245c705 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -654,7 +654,8 @@ void ScintillaWin::SetMouseCapture(bool on) { bool ScintillaWin::HaveMouseCapture() { // Cannot just see if GetCapture is this window as the scroll bar also sets capture for the window - return capturedMouse && (::GetCapture() == wMain.GetID()); + return capturedMouse; + //return capturedMouse && (::GetCapture() == wMain.GetID()); } void ScintillaWin::ScrollText(int linesToMove) { -- cgit v1.2.3