X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50c06297bd2a5b496a899198a5957755655ab43d..7ecb668390cc0d873a3b62b67f47354052aba884:/include/wx/sizer.h 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: