r1027: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Thu, 27 Sep 2001 02:11:29 +0000 (02:11 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Thu, 27 Sep 2001 02:11:29 +0000 (02:11 +0000)
src/views.cpp

index f78f9e3470dd319b5086ea5e819d2fa43c6d0147..7ae2293fc27f2fd062c4953e048c188717f3ff7d 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: views.cpp,v 1.146 2001/09/24 09:40:42 kevin Exp $
+**  $Id: views.cpp,v 1.147 2001/09/27 02:11:29 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
@@ -1975,7 +1975,11 @@ PhantomCanvas::GetBestSize() const
   int xSize, ySize;
   theApp->getMainFrame()->GetClientSize (&xSize, &ySize);
   xSize = maxValue<int> (xSize, ySize);
+#ifdef CTSIM_MDI
   ySize = xSize = (xSize / 4);
+#else
+  ySize = xSize;
+#endif
   return wxSize (xSize, ySize);
 }