fixed bug in wxGrid dimensions calculation (Staffan Ulfberg)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-01-26 01:33:47 +00:00
parent dd0fba48ac
commit ae1d0c6c46

View File

@@ -3904,9 +3904,9 @@ void wxGrid::CalcDimensions()
int cw, ch;
GetClientSize( &cw, &ch );
if ( m_colLabelWin->IsShown() )
cw -= m_rowLabelWidth;
if ( m_rowLabelWin->IsShown() )
cw -= m_rowLabelWidth;
if ( m_colLabelWin->IsShown() )
ch -= m_colLabelHeight;
// grid total size