wxPython 4.0.3 NewId confusion part 2

P.S.
I forgot to mention, where does wx.RegisterId() fit with regard to wx.NewIdRef() and wx.Window.NewControlId()

Still confused!

Rolf