From 9ade46e22846f94077dddf844e2a0a23596882fa 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(-) (limited to 'win32') 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