added wxRESERVE_SPACE_EVEN_IF_HIDDEN sizer flag that prevents the sizer from changing size if a window is hidden

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-03-04 12:01:36 +00:00
parent ad1c5f459b
commit 0ba6faaeee
3 changed files with 37 additions and 8 deletions

View File

@@ -522,6 +522,9 @@ void wxSizerItem::Show( bool show )
bool wxSizerItem::IsShown() const
{
if ( m_flag & wxRESERVE_SPACE_EVEN_IF_HIDDEN )
return true;
switch ( m_kind )
{
case Item_None: