Exemple #1
0
func NewMenuEvent2(eventType EventType, id int, menu C.WxObjectPtr) MenuEvent {
	return globalObjectTable.bindObject(C.wxMenuEvent_New(C.int(eventType), C.int(id), menu), true).(MenuEvent)
}
Exemple #2
0
func NewMenuEvent2(eventType EventType, id int, menu C.WxObjectPtr) MenuEvent {
	evt := &menuEvent{}
	evt.bindWxPtr(C.wxMenuEvent_New(C.int(eventType), C.int(id), menu), true)
	return evt
}
Exemple #3
0
func NewMenuEvent() MenuEvent {
	return globalObjectTable.bindObject(C.wxMenuEvent_New(C.int(EVT_NULL), 0, nil), true).(MenuEvent)
}
Exemple #4
0
func NewMenuEvent() MenuEvent {
	evt := &menuEvent{}
	evt.bindWxPtr(C.wxMenuEvent_New(C.int(EVT_NULL), 0, nil), true)
	return evt
}