X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdlgreconstruct.cpp;h=9dc63929363d804bf1ea90b2e4c6f2d566c80814;hb=79b656146b04b1d57d1ac27f9f2e5474e17c4936;hp=093586bedc8552631c9b46a9b42c773b8a1f1c94;hpb=0730f9f3adbf326b9d4bac754634399ad688efd1;p=ctsim.git diff --git a/src/dlgreconstruct.cpp b/src/dlgreconstruct.cpp index 093586b..9dc6392 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.18 2001/02/22 11:05:38 kevin Exp $ +** $Id$ ** ** 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" @@ -122,7 +118,7 @@ ReconstructDialog::ReconstructDialog (Reconstructor& rReconstruct, const Project m_nyImage = MAX_IMAGE_Y; sizeDlg.x += m_nxImage; - sizeDlg.y = max (sizeDlg.y, m_nyImage); + sizeDlg.y = imax (sizeDlg.y, m_nyImage); m_iClientX = sizeDlg.x; m_iClientY = sizeDlg.y; @@ -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; }