aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-10-05 11:43:41 +0000
committernyamatongwe <devnull@localhost>2000-10-05 11:43:41 +0000
commitb3ff86df5860e82cce6c51eb0d85c32632dc36c8 (patch)
tree04cc02753fcc8747c1733b516d112d38a00b0833 /win32/ScintillaWin.cxx
parent5ed4a13cd70515550c10b77a0c45c1eadcdeec07 (diff)
downloadscintilla-mirror-b3ff86df5860e82cce6c51eb0d85c32632dc36c8.tar.gz
Mouse capture doesn't always call ::GetCapture.
Better line selection handling.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r--win32/ScintillaWin.cxx3
1 files changed, 2 insertions, 1 deletions
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) {