示例#1
0
文件: app.go 项目: nzlov/wxgo
func (a *app) SetTopWindow(w Window) {
	p := ptr(a)
	if p == nil {
		return
	}
	globalObjectTable.unhold(w)
	C.wxApp_SetTopWindow(p, ptr(w))
}
示例#2
0
文件: app.go 项目: jimmygan/wxgo-1
func (a *app) SetTopWindow(w Window) {
	p := wxPtr(a)
	if p == nil {
		return
	}
	w.unhold()
	C.wxApp_SetTopWindow(p, wxPtr(w))
}