projects
/
ctsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
32a936e
)
r1027: *** empty log message ***
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Thu, 27 Sep 2001 02:11:29 +0000
(
02:11
+0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Thu, 27 Sep 2001 02:11:29 +0000
(
02:11
+0000)
src/views.cpp
patch
|
blob
|
history
diff --git
a/src/views.cpp
b/src/views.cpp
index f78f9e3470dd319b5086ea5e819d2fa43c6d0147..7ae2293fc27f2fd062c4953e048c188717f3ff7d 100644
(file)
--- 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
**
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: views.cpp,v 1.14
6 2001/09/24 09:40:42
kevin Exp $
+** $Id: views.cpp,v 1.14
7 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
**
** 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);
int xSize, ySize;
theApp->getMainFrame()->GetClientSize (&xSize, &ySize);
xSize = maxValue<int> (xSize, ySize);
+#ifdef CTSIM_MDI
ySize = xSize = (xSize / 4);
ySize = xSize = (xSize / 4);
+#else
+ ySize = xSize;
+#endif
return wxSize (xSize, ySize);
}
return wxSize (xSize, ySize);
}