Change m_windowCurrent to m_currentNSWindow such that m_currentNSWindow is
authorDavid Elliott <dfe@tgwbd.org>
Mon, 12 Apr 2004 04:58:32 +0000 (04:58 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Mon, 12 Apr 2004 04:58:32 +0000 (04:58 +0000)
commitaf8491078dda1fbe02ce269d17262bd3ac26ad8f
tree241c98b4845f7d181350f3bbd55a7f61b4219c03
parent37c2a8dab05154b396e20a9de1de7a10adb2b88a
Change m_windowCurrent to m_currentNSWindow such that m_currentNSWindow is
never used directly but only to look up the associated wxCocoaNSWindow.
If the wxCocoaNSWindow cannot be found later in UpdateMenuBar then it's
likely been destroyed but no crash will result as before.

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