Пример #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)
}
Пример #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
}
Пример #3
0
func NewMenuEvent() MenuEvent {
	return globalObjectTable.bindObject(C.wxMenuEvent_New(C.int(EVT_NULL), 0, nil), true).(MenuEvent)
}
Пример #4
0
func NewMenuEvent() MenuEvent {
	evt := &menuEvent{}
	evt.bindWxPtr(C.wxMenuEvent_New(C.int(EVT_NULL), 0, nil), true)
	return evt
}