func (w *window) Destroy() { p := wxPtr(w) if p == nil { return } C.wxWindow_Destroy(p) }
func (w *window) delete() { C.wxWindow_Destroy(w.p) }