]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't force the child's m_isShown state to match that of the parent in CocoaAddChild.
authorDavid Elliott <dfe@tgwbd.org>
Sun, 14 Oct 2007 04:44:54 +0000 (04:44 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Sun, 14 Oct 2007 04:44:54 +0000 (04:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/window.mm

index 024901aa70587f235017d5aae65cc32457d47b80..01c776073b85c3ecac6adf824b85bb1660dfdcb6 100644 (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)