X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fviews.cpp;h=7ae2293fc27f2fd062c4953e048c188717f3ff7d;hb=c4777fef5a0b8e4dac9e9cf302a2548545dfddfe;hp=f78f9e3470dd319b5086ea5e819d2fa43c6d0147;hpb=bd1d464294e037da19ccc80d8cc60475768eb2ca;p=ctsim.git 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); }