** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
- ** $Id: dlgprojections.cpp,v 1.25 2002/05/05 14:22:44 kevin Exp $
+ ** $Id: dlgprojections.cpp,v 1.26 2002/05/30 06:27:46 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
wxSize sizeDlg (500,500);
if (sizeDlg.x != sizeDlg.y) {
- sizeDlg.x = max(sizeDlg.x,sizeDlg.y);
- sizeDlg.y = max(sizeDlg.x,sizeDlg.y);
+ sizeDlg.x = imax(sizeDlg.x,sizeDlg.y);
+ sizeDlg.y = imax(sizeDlg.x,sizeDlg.y);
}
if (m_iTrace >= Trace::TRACE_PLOT)
sizeDlg.x += 250;
** 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: dlgreconstruct.cpp,v 1.19 2002/05/30 06:27:46 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
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;