]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix VC++ compile error
authorJulian Smart <julian@anthemion.co.uk>
Sun, 25 Jul 2010 13:34:16 +0000 (13:34 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 25 Jul 2010 13:34:16 +0000 (13:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/sizer.cpp

index a6b6b4920bb7c5ae2359791f6f4536064e989aa5..f62557140981c2eb9f6d0649109a868b5ca82cbd 100644 (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();