summaryrefslogtreecommitdiff
path: root/win/Mainfrm.cpp
diff options
context:
space:
mode:
authorleo2005-11-09 19:47:51 +0000
committerleo2005-11-09 19:47:51 +0000
commit43de59ee74775c20597182b8fe171f653f1f76d8 (patch)
treed7c1dc2aa672dac91272b475cd8aba60ae0d4a97 /win/Mainfrm.cpp
parent647e9c0cf53694b39abd24b74440c507cb8cda78 (diff)
Remember the pieces bar size when you exit the program.
git-svn-id: http://svn.leocad.org/trunk@439 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Mainfrm.cpp')
-rw-r--r--win/Mainfrm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/Mainfrm.cpp b/win/Mainfrm.cpp
index 1f487bd..83579b6 100644
--- a/win/Mainfrm.cpp
+++ b/win/Mainfrm.cpp
@@ -227,8 +227,8 @@ int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
// members. If you need to change them later, don't forget to call
// RecalcLayout() or DelayRecalcLayout() after you set the size.
// You can use this technique to load/save the size of the control bar.
- m_wndPiecesBar.m_sizeVert = CSize(226, -1); // y size ignored (stretched)
- m_wndPiecesBar.m_sizeFloat = CSize(226, 270);
+// m_wndPiecesBar.m_sizeVert = CSize(226, -1); // y size ignored (stretched)
+// m_wndPiecesBar.m_sizeFloat = CSize(226, 270);
m_wndPiecesBar.SetBarStyle(m_wndPiecesBar.GetBarStyle() | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC);
m_wndPiecesBar.EnableDocking(CBRS_ALIGN_LEFT|CBRS_ALIGN_RIGHT);