X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdlgreconstruct.cpp;h=fafca597effd630a403b6c191878970f19d8992b;hb=87f312d59cabca5080b481a20314601ea476c4be;hp=ee420c457cdba5c7cb15a0ce7fc56002c52e1f99;hpb=2c2e32c3658a534b8eeb676165dc388e85285b5d;p=ctsim.git diff --git a/src/dlgreconstruct.cpp b/src/dlgreconstruct.cpp index ee420c4..fafca59 100644 --- a/src/dlgreconstruct.cpp +++ b/src/dlgreconstruct.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: dlgreconstruct.cpp,v 1.19 2002/05/30 06:27:46 kevin Exp $ +** $Id: dlgreconstruct.cpp,v 1.21 2003/01/24 05:24:19 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 @@ -25,10 +25,6 @@ ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ******************************************************************************/ -#ifdef __GNUG__ -#pragma implementation "dlgreconstruct.h" -#endif - #include "wx/wxprec.h" #include "wx/utils.h" @@ -208,7 +204,7 @@ ReconstructDialog::showView (int iViewNumber, bool bBackprojectView) } } wxImage image (m_nxImage, m_nyImage, imageData, true); - wxBitmap bitmap = image.ConvertToBitmap(); + wxBitmap bitmap (image); m_pSGP->getDriver().idWX()->DrawBitmap(bitmap, xBase, yBase, false); delete imageData; }