diff options
author | nyamatongwe <devnull@localhost> | 2000-09-22 11:29:03 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-09-22 11:29:03 +0000 |
commit | bf47b7f563c0eca28b8555c0b6bdfcfe70a659ac (patch) | |
tree | b46f5cddd57ac0c67ca741b91a93256023d37d1a | |
parent | 80abe6e55f1925c4be355d827351b2c0d8afc3c1 (diff) | |
download | scintilla-mirror-bf47b7f563c0eca28b8555c0b6bdfcfe70a659ac.tar.gz |
Added SCI_GRABFOCUS handling.
-rw-r--r-- | win32/ScintillaWin.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index b3b40660b..1b20d05b9 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -604,6 +604,10 @@ LRESULT ScintillaWin::WndProc(unsigned int iMessage, unsigned long wParam, long case SCI_GETDIRECTPOINTER: return reinterpret_cast<LRESULT>(this); + case SCI_GRABFOCUS: + ::SetFocus(wMain.GetID()); + break; + default: return ScintillaBase::WndProc(iMessage, wParam, lParam); } |