X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fviews.cpp;h=1b54cbb93ef99314a0e0780fa7b42e552ebc6ca6;hb=85793a723370de4077cce16c13f926bd317778e9;hp=3f7db0b337b2fb85ed010e798ddaa26925e7191c;hpb=92446cc445611619e1c796d269b559f89377dfe5;p=ctsim.git diff --git a/src/views.cpp b/src/views.cpp index 3f7db0b..1b54cbb 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.154 2002/05/05 05:31:16 kevin Exp $ +** $Id: views.cpp,v 1.156 2002/05/30 17:02:32 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 @@ -1987,8 +1987,9 @@ PhantomCanvas::GetBestSize() const #ifdef CTSIM_MDI ySize = xSize = (xSize / 4); #else - ySize = xSize; + xSize = ySize = static_cast(ySize * .7); #endif + return wxSize (xSize, ySize); }