X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fviews.cpp;h=bd54f07afa54af3165a2182a55f1d306e2988614;hp=19b0c5632dc0126bc0dbfc9d3e77bcf0413929de;hb=2093dcb9760e9261299ebbab4f8ff203e4d9af77;hpb=f68afdf6eee93eb1080b6f85a2bb66610cfff5be diff --git a/src/views.cpp b/src/views.cpp index 19b0c56..bd54f07 100644 --- a/src/views.cpp +++ b/src/views.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: views.cpp,v 1.159 2002/06/02 23:39:22 kevin Exp $ +** $Id: views.cpp,v 1.160 2002/06/03 16:57:22 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 @@ -1019,8 +1019,8 @@ ImageFileView::CreateChildFrame(wxDocument *doc, wxView *view) #if wxUSE_GLCANVAS accelEntries[iEntry++].Set (wxACCEL_CTRL, static_cast('3'), IFMENU_IMAGE_CONVERT3D); #endif + wxAcceleratorTable accelTable (iEntry, accelEntries); - subframe->SetAcceleratorTable (accelTable); return subframe;