aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-10-07 15:05:10 +1100
committerNeil <nyamatongwe@gmail.com>2014-10-07 15:05:10 +1100
commit861c60e49b2b9801480072c61d5dcd223fb6f4d5 (patch)
tree94f6f738741caa0cee7361a0e37bd64d6f3bdc35
parent1409ddb48744544efe7ec715d5b6eeae6b732009 (diff)
downloadscintilla-mirror-861c60e49b2b9801480072c61d5dcd223fb6f4d5.tar.gz
Feature [feature-requests:#1080]. Allow right click selection in popup menu.
-rw-r--r--win32/PlatWin.cxx2
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();
}