From: David Elliott Date: Wed, 23 Mar 2005 05:12:12 +0000 (+0000) Subject: Blind bug fix to bug reported by Angel Kry. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3a5910cbe95603698b984cc6d8d41bbe7e2f89d9 Blind bug fix to bug reported by Angel Kry. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 9b84741354..7969475a07 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -477,7 +477,10 @@ public: // Recursively call wxWindow::Show () on all sizer items. virtual void ShowItems (bool show); - void Show(bool show) { m_isShown = show; } + void Show(bool show) + { m_isShown = show; + ShowItems(show); + } bool IsShown() const { return m_isShown; } protected: diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index f959eb34b2..e22859979b 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -416,7 +416,7 @@ void wxSizerItem::Show( bool show ) break; case Item_Sizer: - m_sizer->ShowItems(show); + m_sizer->Show(show); break; case Item_Spacer: