Exemple #1
0
func (f *frame) SetMenuBar(menubar MenuBar) {
	p := ptr(f)
	if f == nil {
		return
	}
	globalObjectTable.unhold(menubar)
	C.wxFrame_SetMenuBar(p, ptr(menubar))
}
Exemple #2
0
func (f *frame) SetMenuBar(menubar MenuBar) {
	p := wxPtr(f)
	if f == nil {
		return
	}
	menubar.unhold()
	C.wxFrame_SetMenuBar(p, wxPtr(menubar))
}