ShouldAccountFor was a 2.8 only change. Use IsShown instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2008-07-10 02:28:06 +00:00
parent fcf92c3a0d
commit bbb517666c

View File

@ -580,7 +580,7 @@ void wxGridBagSizer::AdjustForOverflow()
{
wxGBPosition pos(row,col);
wxGBSizerItem* item = FindItemAtPosition(pos);
if ( !item || !item->ShouldAccountFor() )
if ( !item || !item->IsShown() )
continue;
int endrow, endcol;
@ -623,7 +623,7 @@ void wxGridBagSizer::AdjustForOverflow()
{
wxGBPosition pos(row,col);
wxGBSizerItem* item = FindItemAtPosition(pos);
if ( !item || !item->ShouldAccountFor() )
if ( !item || !item->IsShown() )
continue;
int endrow, endcol;