previous | start | next

## Dialogs

- The parent parameter is a pointer to the parent window, over which the dialog box is placed.
- The message parameter is of type `wxString`, a class that is similar to the standard `string` type.
- We recommend you use the standard string class for all string computations, then use the `c_str` function to convert to a C string, which is then automatically converted to a `wxString`.

  >     string message = "Hello, " + name;
  >     dialog = new wxMessageDialog(this, message.c_str());

- When you are done with a dialog, you should destroy it.

previous | start | next