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:
parent
fcf92c3a0d
commit
bbb517666c
@ -580,7 +580,7 @@ void wxGridBagSizer::AdjustForOverflow()
|
|||||||
{
|
{
|
||||||
wxGBPosition pos(row,col);
|
wxGBPosition pos(row,col);
|
||||||
wxGBSizerItem* item = FindItemAtPosition(pos);
|
wxGBSizerItem* item = FindItemAtPosition(pos);
|
||||||
if ( !item || !item->ShouldAccountFor() )
|
if ( !item || !item->IsShown() )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
int endrow, endcol;
|
int endrow, endcol;
|
||||||
@ -623,7 +623,7 @@ void wxGridBagSizer::AdjustForOverflow()
|
|||||||
{
|
{
|
||||||
wxGBPosition pos(row,col);
|
wxGBPosition pos(row,col);
|
||||||
wxGBSizerItem* item = FindItemAtPosition(pos);
|
wxGBSizerItem* item = FindItemAtPosition(pos);
|
||||||
if ( !item || !item->ShouldAccountFor() )
|
if ( !item || !item->IsShown() )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
int endrow, endcol;
|
int endrow, endcol;
|
||||||
|
Loading…
Reference in New Issue
Block a user