no changes, just replaced SF bug number in a comment with Trac one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -10398,14 +10398,10 @@ void wxGrid::SetColSize( int col, int width )
|
|||||||
width = wxMax(width, GetColMinimalAcceptableWidth());
|
width = wxMax(width, GetColMinimalAcceptableWidth());
|
||||||
}
|
}
|
||||||
|
|
||||||
// should we check that it's bigger than GetColMinimalWidth(col) here?
|
// we intentionally don't test whether the width is less than
|
||||||
// (VZ)
|
// GetColMinimalWidth() here but we do compare it with
|
||||||
// No, because it is reasonable to assume the library user know's
|
// GetColMinimalAcceptableWidth() as otherwise things currently break (see
|
||||||
// what he is doing. However we should test against the weaker
|
// #651)
|
||||||
// constraint of minimalAcceptableWidth, as this breaks rendering
|
|
||||||
//
|
|
||||||
// This test then fixes sf.net bug #645734
|
|
||||||
|
|
||||||
if ( width < GetColMinimalAcceptableWidth() )
|
if ( width < GetColMinimalAcceptableWidth() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user