X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1eebb103c737c550dc865b418113454ecc5bc40e..2190f6aa153416d1c225532bb026df98b3e273ad:/src/common/gbsizer.cpp?ds=sidebyside 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;