From c4777fef5a0b8e4dac9e9cf302a2548545dfddfe Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Thu, 27 Sep 2001 02:11:29 +0000 Subject: [PATCH] r1027: *** empty log message *** --- src/views.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views.cpp b/src/views.cpp index f78f9e3..7ae2293 100644 --- a/src/views.cpp +++ b/src/views.cpp @@ -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 (xSize, ySize); +#ifdef CTSIM_MDI ySize = xSize = (xSize / 4); +#else + ySize = xSize; +#endif return wxSize (xSize, ySize); } -- 2.34.1