Displaying 1 result from an estimated 1 matches for "mymasterclass".
Did you mean:
masterclass
2008 Jan 03
0
Wx::Menu, get parent menu functions?
...for get_parent type stuff for the
Menu''s - so I can track a click path across sub-menus and have not found
anything. Are there really no functions for that or did I just miss the
right place to look?
If it is true then consider this below:
class MyMenu < Wx::Menu
def initialize(mymasterclass, name = nil, id = -1, parent_menu = nil,
title = "", style = 0)
super(title, style)
@name = name #string name
@id = id #integer id
@parent_menu = parent_menu #MyMenu parent_menu
if @id == -1
@id = mymasterclass.newi...