X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdlgprojections.cpp;h=9ec9e84faf03805e4e23687d4612d22d35589707;hb=b3db4c787d9180525a56306d8e91553d81def8b8;hp=7976adc0253a4c9241498748d18858480a1790ed;hpb=6562049dd76f2b8d6ded69dc75b4649e1b203743;p=ctsim.git diff --git a/src/dlgprojections.cpp b/src/dlgprojections.cpp index 7976adc..9ec9e84 100644 --- a/src/dlgprojections.cpp +++ b/src/dlgprojections.cpp @@ -9,7 +9,7 @@ ** 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$ ** ** 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 "dlgprojections.h" -#endif - #include "wx/wxprec.h" #ifndef WX_PRECOMP @@ -104,8 +100,8 @@ BEGIN_EVENT_TABLE(ProjectionsDialog, wxDialog) 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;