wxMenuBar problems

As shown in the docs, only the Append overload taking a wx.Menu is deprecated, use AppendSubMenu in that case.

Is self a wx.Frame?