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)