From 861c60e49b2b9801480072c61d5dcd223fb6f4d5 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 7 Oct 2014 15:05:10 +1100 Subject: Feature [feature-requests:#1080]. Allow right click selection in popup menu. --- win32/PlatWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(mid), - 0, static_cast(pt.x - 4), static_cast(pt.y), 0, + TPM_RIGHTBUTTON, static_cast(pt.x - 4), static_cast(pt.y), 0, reinterpret_cast(w.GetID()), NULL); Destroy(); } -- cgit v1.2.3