*** empty log message ***

svn path=/trunk/boinc/; revision=3247
This commit is contained in:
Rom Walton 2004-04-11 05:42:55 +00:00
parent 89b6167aca
commit 4da09fb5c6
1 changed files with 11 additions and 3 deletions

View File

@ -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.