示例#1
0
文件: window.go 项目: jimmygan/wxgo-1
func (w *window) ForceClose() bool {
	p := wxPtr(w)
	if p == nil {
		return false
	}
	return goBool(C.wxWindow_Close(p, 1))
}
示例#2
0
文件: window.go 项目: nzlov/wxgo
func (w *window) Close() bool {
	p := ptr(w)
	if p == nil {
		return false
	}
	return goBool(C.wxWindow_Close(p, 0))
}