** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ctsim.cpp,v 1.50 2001/01/27 21:40:12 kevin Exp $
+** $Id: ctsim.cpp,v 1.51 2001/01/27 22:10:11 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#endif
#endif
-static const char* rcsindent = "$Id: ctsim.cpp,v 1.50 2001/01/27 21:40:12 kevin Exp $";
+static const char* rcsindent = "$Id: ctsim.cpp,v 1.51 2001/01/27 22:10:11 kevin Exp $";
struct option CTSimApp::ctsimOptions[] =
{
if (m_pConfig)
m_docManager->FileHistoryLoad(*m_pConfig);
-#ifdef CTSIM_WINHELP
- if (! m_pFrame->getWinHelpController().Initialize("ctsim"))
- ::wxMessageBox ("Cannot initialize the help system", "Error");
-#endif
- if (! m_pFrame->getHtmlHelpController().Initialize(::wxGetCwd() + "/ctsim"))
- ::wxMessageBox ("Cannot initialize the help system", "Error");
-
#ifdef CTSIM_MDI
TextFileDocument* pLogDoc = newTextDoc();
if (pLogDoc) {
#endif
wxLog::SetActiveTarget (new wxLogTextCtrl(m_pLog));
+#ifdef CTSIM_WINHELP
+ if (! m_pFrame->getWinHelpController().Initialize("ctsim"))
+ *m_pLog << "Cannot initialize the Windows Help system\n";
+#endif
+ if (! m_pFrame->getHtmlHelpController().Initialize(::wxGetCwd() + "/ctsim"))
+ *m_pLog << "Cannot initialize the HTML Help system";
+
return true;
}