static void
UpdateCaption(WndForm &form, unsigned page)
{
  form.SetCaption(captions[page]);
}