X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1eebb103c737c550dc865b418113454ecc5bc40e..a22895511a250173cf7dd4403fc89f293a898067:/src/common/gbsizer.cpp diff --git a/src/common/gbsizer.cpp b/src/common/gbsizer.cpp index 2a6db88756..bb4f660670 100644 --- a/src/common/gbsizer.cpp +++ b/src/common/gbsizer.cpp @@ -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;