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:
@@ -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
|
||||
|
Reference in New Issue
Block a user