From 7fbe52f835688967a6079582ed8839cb55d0f9ea Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 17 Mar 2021 13:34:55 +1100 Subject: Make Window argument to Menu::Show const as that avoids warnings and the Window is not altered by showing a menu. --- src/Platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Platform.h b/src/Platform.h index 0ea086393..778c9a810 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -317,7 +317,7 @@ public: MenuID GetID() const noexcept { return mid; } void CreatePopUp(); void Destroy() noexcept; - void Show(Point pt, Window &w); + void Show(Point pt, const Window &w); }; #if defined(__clang__) -- cgit v1.2.3