func (s *sizer) Fit(window Window) *Size { p := s.ptr() if p == nil { return DefaultSize } return goSize(C.wxSizer_Fit(p, window.ptr())) }
func (s *sizer) Fit(window Window) Size { p := s.wxPtr() if p == nil { return DefaultSize } return Size(C.wxSizer_Fit(p, window.wxPtr())) }