From: Kevin M. Rosenberg Date: Thu, 27 Sep 2001 02:11:29 +0000 (+0000) Subject: r1027: *** empty log message *** X-Git-Tag: debian-4.5.3-3~347 X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=commitdiff_plain;h=c4777fef5a0b8e4dac9e9cf302a2548545dfddfe r1027: *** empty log message *** --- 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); }