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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user