Doerk Hilger:
It is not a bug. It comes from the new method hiding rules introduced in build 5200: https://www.mql5.com/en/forum/492297
Strengthened method hiding rules. When a derived class contains a method with the same name as one in the base class, the derived class version is now called by default. To explicitly call the base class method, a qualifier is now required.
That is why the AddItem overloads from CVSwitch are hidden in CVSButtonMenu.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
double, string, string, color, color
Nothing wrong here but I get an error.
Build 5200



In Detail
where CVSButtonMenu inherits from CVSwitch, while definition in CVSButtonMenu is
and in CVSwitch it is