X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fviews.cpp;h=bd54f07afa54af3165a2182a55f1d306e2988614;hb=7e4ade1664a9e49295ee5ec249ed596d40d6db65;hp=19b0c5632dc0126bc0dbfc9d3e77bcf0413929de;hpb=6563a3fc6cf0d419eb1a44794eed4df02b0c5420;p=ctsim.git 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;