From: David Elliott Date: Sun, 14 Oct 2007 04:44:54 +0000 (+0000) Subject: Don't force the child's m_isShown state to match that of the parent in CocoaAddChild. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/883ea3bf80503de1f2aa797ce91acda654d88d74 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 --- diff --git a/src/cocoa/window.mm b/src/cocoa/window.mm index 024901aa70..01c776073b 100644 --- a/src/cocoa/window.mm +++ b/src/cocoa/window.mm @@ -540,7 +540,6 @@ void wxWindowCocoa::CocoaAddChild(wxWindowCocoa *child) wxASSERT(childView); [m_cocoaNSView addSubview: childView]; - child->m_isShown = !m_cocoaHider; } void wxWindowCocoa::CocoaRemoveFromParent(void)