PyCToolBarCtrl.AutoSize

AutoSize()

Resize the entire toolbar control

MFC References

CToolBarCtrl::AutoSize