diff options
author | nyamatongwe <unknown> | 2000-10-05 11:43:41 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-10-05 11:43:41 +0000 |
commit | eafa7bd1d5d7ed4d2cac42a760416cbba00a93cc (patch) | |
tree | 04cc02753fcc8747c1733b516d112d38a00b0833 /win32 | |
parent | aadd66528def7dfa150373f6da4fe26ae69f63cd (diff) | |
download | scintilla-mirror-eafa7bd1d5d7ed4d2cac42a760416cbba00a93cc.tar.gz |
Mouse capture doesn't always call ::GetCapture.
Better line selection handling.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/ScintillaWin.cxx | 3 |
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) { |