A dialog box combines a panel with a frame. Items suchs as buttons can be directly added to a dialog box as to a panel, but a frame is automatically created to manage the dialog box. A dialog box can also be modal, which means that all other windows are blocked until the dialog box is dismissed.
The parent parameter can be null or an existing frame or dialog box; if an existing frame or dialog box is used under Windows, the child dialog box is always on top of the parent, and will be iconized when the parent is iconized.
If title is not null, it is placed on the window frame. Otherwise, a default title is used.
If modal is #t, the dialog box will wait to be dismissed (using (show #f)) before returning control. When a modal dialog is visble, all other top-level windows are suspended
The style parameter is a bitwise-ior combination of the following:
The constant wx:const-default-dialog-style is equivalent to (bitwise-or wx:const-caption wx:const-system-menu wx:const-thick-frame)
The name argument is used to associate a name with the window, allowing the application user to set X Windows resource values for each individual window.