diff options
Diffstat (limited to 'win32/PlatWin.cxx')
-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 b73e7145e..63c5a30ab 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -3404,7 +3404,7 @@ void Menu::Destroy() noexcept { mid = 0; } -void Menu::Show(Point pt, Window &w) { +void Menu::Show(Point pt, const Window &w) { ::TrackPopupMenu(static_cast<HMENU>(mid), TPM_RIGHTBUTTON, static_cast<int>(pt.x - 4), static_cast<int>(pt.y), 0, HwndFromWindow(w), nullptr); |