Exemplo n.º 1
0
static void
AutoHide()
{
  // Close the dialog if no warning exists and AutoClose is set
  if (!HasWarning() && AutoClose)
    Hide();
}
Exemplo n.º 2
0
static void
AutoHide()
{
  if (!HasWarning()) {
    wf->hide();
    wf->SetModalResult(mrOK);
  }
}