From: Julian Smart Date: Sun, 25 Jul 2010 13:34:16 +0000 (+0000) Subject: Fix VC++ compile error X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/79b7701c0bc547dc4b579258c7116700e5925162 Fix VC++ compile error git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index a6b6b4920b..f625571409 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -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();