From 79b7701c0bc547dc4b579258c7116700e5925162 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 25 Jul 2010 13:34:16 +0000 Subject: [PATCH] Fix VC++ compile error git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/sizer.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.50.0