r7061: initial property settings
[ctsim.git] / src / dlgprojections.cpp
index 7976adc0253a4c9241498748d18858480a1790ed..9ec9e84faf03805e4e23687d4612d22d35589707 100644 (file)
@@ -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
  **  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;