diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-17 13:34:55 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-17 13:34:55 +1100 |
commit | 7fbe52f835688967a6079582ed8839cb55d0f9ea (patch) | |
tree | 0dc8c1b28dd541c84c7dd10114618be930a0afdd /src | |
parent | 907c32f8149ec13c39c90424cfed018b2b1eac87 (diff) | |
download | scintilla-mirror-7fbe52f835688967a6079582ed8839cb55d0f9ea.tar.gz |
Make Window argument to Menu::Show const as that avoids warnings and the Window
is not altered by showing a menu.
Diffstat (limited to 'src')
-rw-r--r-- | src/Platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
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__) |