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
This commit is contained in:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user