Example #1
0
func NewMenuWithStyle(title string, style int) Menu {
	m := &menu{}
	m.bindWxPtr(C.wxMenu_New(cString(&title), C.long(style)), true)
	return m
}
Example #2
0
File: menu.go Project: nzlov/wxgo
func NewMenu() Menu {
	return globalObjectTable.bindObject(C.wxMenu_New(), true).(Menu)
}