X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fctsim.cpp;h=60f409a75929b43b0df14485357bf35969d107e9;hp=6408e67b30156b15646d75d8a5b6b689eb5d5351;hb=f313cfc038d176c3db704dbcf3c01fdd6f33d807;hpb=71faaba5bf4be59ef81fff71f2f3403a41c90b0f diff --git a/src/ctsim.cpp b/src/ctsim.cpp index 6408e67..60f409a 100644 --- a/src/ctsim.cpp +++ b/src/ctsim.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ctsim.cpp,v 1.32 2001/01/17 13:03:24 kevin Exp $ +** $Id: ctsim.cpp,v 1.33 2001/01/18 02:50:50 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 @@ -69,7 +69,7 @@ #endif #endif -static const char* rcsindent = "$Id: ctsim.cpp,v 1.32 2001/01/17 13:03:24 kevin Exp $"; +static const char* rcsindent = "$Id: ctsim.cpp,v 1.33 2001/01/18 02:50:50 kevin Exp $"; struct option CTSimApp::ctsimOptions[] = { @@ -166,7 +166,8 @@ CTSimApp::OnInit() accelEntries[2].Set(wxACCEL_CTRL, (int) 'P', MAINMENU_FILE_CREATE_PHANTOM); accelEntries[3].Set(wxACCEL_CTRL, (int) 'F', MAINMENU_FILE_CREATE_FILTER); accelEntries[4].Set(wxACCEL_NORMAL, WXK_F1, MAINMENU_HELP_CONTENTS); - wxAcceleratorTable accelTable (4, accelEntries); + wxAcceleratorTable accelTable (5 + , accelEntries); m_pFrame->SetAcceleratorTable (accelTable); return true; @@ -335,7 +336,7 @@ MainFrame::OnAbout(wxCommandEvent& WXUNUSED(event) ) } void -MainFrame::OnCreatePhantom(wxCommandEvent& WXUNUSED(event)) +MainFrame::OnCreatePhantom(wxCommandEvent& event) { DialogGetPhantom dialogPhantom (this, m_iDefaultPhantomID); int dialogReturn = dialogPhantom.ShowModal(); @@ -428,7 +429,7 @@ MainFrame::showHelp (int commandID) m_help.DisplayContents (); break; case MAINMENU_HELP_TOPICS: - m_help.DisplaySection (if1); + m_help.DisplaySection (introduction); break; default: