Only append to parent if its an instance of wxMenu or wxMenuBar
Only append to parent if its an instance of wxMenu or wxMenuBar

encorephp/components,encorephp/components,encorephp/components,encorephp/components,encorephp/components