r3853: mac os x port
[ctsim.git] / src / dlgreconstruct.cpp
index 7fad7fc85c5d270e93ab8195902649cbe4c459bb..fafca597effd630a403b6c191878970f19d8992b 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: dlgreconstruct.cpp,v 1.20 2003/01/23 23:35:58 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
@@ -204,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;
        }