From 245a9ef80cabb570611c964515091b2208fe4800 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 16 Mar 2017 18:50:57 +0100 Subject: [PATCH] - fixed MenuItemBase.OnMenuCreated was not declared virtual. --- wadsrc/static/zscript/menu/menuitembase.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/menu/menuitembase.txt b/wadsrc/static/zscript/menu/menuitembase.txt index 39dbb61b0..12b13556c 100644 --- a/wadsrc/static/zscript/menu/menuitembase.txt +++ b/wadsrc/static/zscript/menu/menuitembase.txt @@ -40,7 +40,7 @@ class MenuItemBase : Object native ui version("2.4") double GetY() { return mYpos; } double GetX() { return mXpos; } void SetX(double x) { mXpos = x; } - void OnMenuCreated() {} + virtual void OnMenuCreated() {} } // this is only used to parse font color ranges in MENUDEF