wxDialogBox::Show

void Show(Bool show)

If show is TRUE, the dialog box is shown and brought to the front; otherwise the box is hidden. If show is FALSE and the dialog is modal, control is returned to the calling program.