WxProgressDialog
From WxWiki
[edit] Using wxProgressDialog without a gauge/progress bar
When creating a gaugeless progress dialog, use a value of 0 for the 'maximum' parameter.
Cancellable example, assuming (*this) is a wxWindow:
wxProgressDialog progressDlg(_("Please wait"), _("Scanning"),
0, this, wxPD_APP_MODAL | wxPD_CAN_ABORT);
Call Update with a value of -1 (not 0) to check if Cancel button pressed:
if (!progressDlg.Update(-1)) // if cancel clicked return; // abort processing
Update can still be used to change the message of the dialog:
if (!progressDlg.Update(-1, "New message")) // if cancel clicked return; // abort processing
