aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-10-05 11:43:41 +0000
committernyamatongwe <unknown>2000-10-05 11:43:41 +0000
commiteafa7bd1d5d7ed4d2cac42a760416cbba00a93cc (patch)
tree04cc02753fcc8747c1733b516d112d38a00b0833 /win32/ScintillaWin.cxx
parentaadd66528def7dfa150373f6da4fe26ae69f63cd (diff)
downloadscintilla-mirror-eafa7bd1d5d7ed4d2cac42a760416cbba00a93cc.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) {