UpdateCaption - brings caption up-to-date if there have been changes.
Source position: ldocktree.pas line 210
public procedure TLazDockForm.UpdateCaption; virtual;