]> git.saurik.com Git - wxWidgets.git/commitdiff
Little correction to hand-made sizing
authorRobert Roebling <robert@roebling.de>
Sun, 25 Jan 2009 20:57:43 +0000 (20:57 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 25 Jan 2009 20:57:43 +0000 (20:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/listctrl/listtest.cpp

index 162d2b7d1f831afca0bf14389b4ca996d878bd05..2b0e6daa4356713e9bfed1acb65f6678d508dfa7 100644 (file)
@@ -328,7 +328,7 @@ void MyFrame::DoSize()
     wxCoord y = (2*size.y)/3;
     m_listCtrl->SetSize(0, 0, size.x-320, y);
     if (m_simpleListCtrl) m_simpleListCtrl->SetSize(size.x-320+1, 0, 320-1, y);
-    m_logWindow->SetSize(0, y + 1, size.x, size.y - y);
+    m_logWindow->SetSize(0, y + 1, size.x, size.y - y -1);
 }
 
 bool MyFrame::CheckNonVirtual() const