In destructor: DestroyChildren() and make sure m_cocoaNSView is NULL so that
authorDavid Elliott <dfe@tgwbd.org>
Tue, 5 Aug 2003 15:58:39 +0000 (15:58 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Tue, 5 Aug 2003 15:58:39 +0000 (15:58 +0000)
commit0b659b0a51c13cdc4ed21f3f8c020c5055c6c024
tree5e4fce7a0027b2c9d4a5559551f47ee4fceb5e86
parent29c310fe056f23acbbab37fc51faf58d5326bcf5
In destructor: DestroyChildren() and make sure m_cocoaNSView is NULL so that
the ~wxWindow destructor will not try to remove it from its superview (BAD!)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/cocoa/toplevel.mm