Don't force the child's m_isShown state to match that of the parent in CocoaAddChild.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott 2007-10-14 04:44:54 +00:00
parent c33edc08d6
commit 883ea3bf80

View File

@ -540,7 +540,6 @@ void wxWindowCocoa::CocoaAddChild(wxWindowCocoa *child)
wxASSERT(childView);
[m_cocoaNSView addSubview: childView];
child->m_isShown = !m_cocoaHider;
}
void wxWindowCocoa::CocoaRemoveFromParent(void)