- fixed MenuItemBase.OnMenuCreated was not declared virtual.

This commit is contained in:
Christoph Oelckers 2017-03-16 18:50:57 +01:00
parent 1f109a5deb
commit 245a9ef80c

View file

@ -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