func (a *app) SetTopWindow(w Window) { p := ptr(a) if p == nil { return } globalObjectTable.unhold(w) C.wxApp_SetTopWindow(p, ptr(w)) }
func (a *app) SetTopWindow(w Window) { p := wxPtr(a) if p == nil { return } w.unhold() C.wxApp_SetTopWindow(p, wxPtr(w)) }