From 5e6a37468770f8efc70334ed830c614984e8a2cd Mon Sep 17 00:00:00 2001 From: David Cernat Date: Tue, 30 Aug 2016 08:13:08 +0300 Subject: [PATCH] Add comment about MesssageBox to prevent future confusion --- apps/openmw-mp/Script/Functions/GUI.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/openmw-mp/Script/Functions/GUI.hpp b/apps/openmw-mp/Script/Functions/GUI.hpp index a0ea9985d..e5caba1ca 100644 --- a/apps/openmw-mp/Script/Functions/GUI.hpp +++ b/apps/openmw-mp/Script/Functions/GUI.hpp @@ -15,7 +15,9 @@ class GUIFunctions { public: + /* Do not rename into MessageBox to not conflict with WINAPI's MessageBox */ static void _MessageBox(unsigned short pid, int id, const char *label) noexcept; + static void CustomMessageBox(unsigned short pid, int id, const char *label, const char *buttons) noexcept; static void InputDialog(unsigned short pid, int id, const char *label) noexcept;