show/hide static box when the wxStaticBoxSizer is shown/hidden (replaces patch 897020)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1624,6 +1624,12 @@ wxSize wxStaticBoxSizer::CalcMin()
|
||||
return ret;
|
||||
}
|
||||
|
||||
void wxStaticBoxSizer::ShowItems( bool show )
|
||||
{
|
||||
m_staticBox->Show( show );
|
||||
wxBoxSizer::ShowItems( show );
|
||||
}
|
||||
|
||||
#endif // wxUSE_STATBOX
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user