diff --git a/clientgui/BOINCGUIApp.cpp b/clientgui/BOINCGUIApp.cpp index 3faa27d0a0..0280f6d21b 100644 --- a/clientgui/BOINCGUIApp.cpp +++ b/clientgui/BOINCGUIApp.cpp @@ -85,9 +85,17 @@ bool CBOINCGUIApp::OnCmdLineParsed(wxCmdLineParser &parser) // Give default processing (-?, --help and --verbose) the chance to do something. Inherited::OnCmdLineParsed(parser); if (parser.Found("example")) { - // Strings that have to be localized are enclosed in _(). See Internationalization. - wxMessageBox(_("You have specified -e on the commmand line. The application will exit now."), _("Example command line option"), MB_OK); - // tell wxWindows to exit right now. + + wxMessageDialog* pDlg = new wxMessageDialog( + NULL, + _("You have specified -e on the commmand line. The application will exit now."), + _("Example command line option"), + wxOK | wxICON_INFORMATION, + wxDefaultPosition + ); + + pDlg->ShowModal(); + return false; } else { // Log a message, but only if --verbose has been set on the command line.