]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/window.mm
test for __DARWIN__ with ifdef, not if
[wxWidgets.git] / 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)