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/branches/WX_2_8_BRANCH@49153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2007-10-14 04:44:54 +00:00
parent f11da5baf1
commit e4d2c5d6fd

View File

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