From 4da09fb5c67c39d7104ee7ff55b354a5f1d6fddf Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sun, 11 Apr 2004 05:42:55 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3247 --- clientgui/BOINCGUIApp.cpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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.