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 | 9ade46e22846f94077dddf844e2a0a23596882fa (patch) | |
tree | 763d04831fca984d531cb93b355f1c8b175ea41a | |
parent | 2db50d56a5db2f17fec9f93ea8fb04e33d327da1 (diff) | |
download | scintilla-mirror-9ade46e22846f94077dddf844e2a0a23596882fa.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(); } |