Fix VC++ compile error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2010-07-25 13:34:16 +00:00
parent 695d5232ec
commit 79b7701c0b

View File

@@ -582,6 +582,7 @@ bool wxSizerItem::IsShown() const
return m_window->IsShown();
case Item_Sizer:
{
// arbitrarily decide that if at least one of our elements is
// shown, so are we (this arbitrariness is the reason for
// deprecating this function)
@@ -594,6 +595,7 @@ bool wxSizerItem::IsShown() const
return true;
}
return false;
}
case Item_Spacer:
return m_spacer->IsShown();