X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fctsim.cpp;h=5ce0a24829919a6679606d937913f853ce92105a;hb=23a88a68dc4365314d21b832740bfaf24831c643;hp=60f409a75929b43b0df14485357bf35969d107e9;hpb=f313cfc038d176c3db704dbcf3c01fdd6f33d807;p=ctsim.git diff --git a/src/ctsim.cpp b/src/ctsim.cpp index 60f409a..5ce0a24 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.33 2001/01/18 02:50:50 kevin Exp $ +** $Id: ctsim.cpp,v 1.34 2001/01/18 18:09:35 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.33 2001/01/18 02:50:50 kevin Exp $"; +static const char* rcsindent = "$Id: ctsim.cpp,v 1.34 2001/01/18 18:09:35 kevin Exp $"; struct option CTSimApp::ctsimOptions[] = { @@ -161,13 +161,12 @@ CTSimApp::OnInit() ::wxMessageBox ("Cannot initialize the help system", "Error"); wxAcceleratorEntry accelEntries[5]; - accelEntries[0].Set(wxACCEL_CTRL, (int) 'O', wxID_OPEN); - accelEntries[1].Set(wxACCEL_CTRL, (int) 'T', MAINMENU_HELP_TOPICS); - 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 (5 - , accelEntries); + accelEntries[0].Set (wxACCEL_CTRL, (int) 'O', wxID_OPEN); + accelEntries[1].Set (wxACCEL_CTRL, (int) 'T', MAINMENU_HELP_TOPICS); + 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 (5, accelEntries); m_pFrame->SetAcceleratorTable (accelTable); return true;