diff options
author | Neil <nyamatongwe@gmail.com> | 2014-10-07 15:05:10 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-10-07 15:05:10 +1100 |
commit | 861c60e49b2b9801480072c61d5dcd223fb6f4d5 (patch) | |
tree | 94f6f738741caa0cee7361a0e37bd64d6f3bdc35 | |
parent | 1409ddb48744544efe7ec715d5b6eeae6b732009 (diff) | |
download | scintilla-mirror-861c60e49b2b9801480072c61d5dcd223fb6f4d5.tar.gz |
Feature [feature-requests:#1080]. Allow right click selection in popup menu.
-rw-r--r-- | win32/PlatWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 0f0279bcb..fa37ac7fe 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -3003,7 +3003,7 @@ void Menu::Destroy() { void Menu::Show(Point pt, Window &w) { ::TrackPopupMenu(reinterpret_cast<HMENU>(mid), - 0, static_cast<int>(pt.x - 4), static_cast<int>(pt.y), 0, + TPM_RIGHTBUTTON, static_cast<int>(pt.x - 4), static_cast<int>(pt.y), 0, reinterpret_cast<HWND>(w.GetID()), NULL); Destroy(); } |