diff options
author | nyamatongwe <unknown> | 2011-09-09 16:59:38 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-09-09 16:59:38 +1000 |
commit | c4e2263b026a0b5aa67c421b767c3ebbabda654f (patch) | |
tree | a81b91816ba7a5b16ad676ba3a2776e99a3316af /win32/ScintillaWin.cxx | |
parent | 9f1e13f587c8c3221a99cd2beee90242c32862fc (diff) | |
parent | 9b4a855ed7962ce5da8c3e538a38f3eb396a8cc7 (diff) | |
download | scintilla-mirror-c4e2263b026a0b5aa67c421b767c3ebbabda654f.tar.gz |
Merge with main repository.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r-- | win32/ScintillaWin.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index c16da8fdb..a3c141aff 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -737,6 +737,13 @@ sptr_t ScintillaWin::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam break; case WM_MOUSEWHEEL: + // if autocomplete list active then send mousewheel message to it + if (ac.Active()) { + HWND hWnd = reinterpret_cast<HWND>(ac.lb->GetID()); + ::SendMessage(hWnd, iMessage, wParam, lParam); + break; + } + // Don't handle datazoom. // (A good idea for datazoom would be to "fold" or "unfold" details. // i.e. if datazoomed out only class structures are visible, when datazooming in the control |