]> git.saurik.com Git - wxWidgets.git/commit - src/cocoa/mbarman.mm
Improve behavior of menubar switching when windows are activated.
authorDavid Elliott <dfe@tgwbd.org>
Fri, 19 Oct 2007 05:39:18 +0000 (05:39 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Fri, 19 Oct 2007 05:39:18 +0000 (05:39 +0000)
commitf8aeb3e35603f0b2a223df027114dca0b5d91137
tree5fb5662db19241f6be0bed07903d4dc467fa3d61
parent2263f62d9b7e6c44db963cbb42438752fd176aa5
Improve behavior of menubar switching when windows are activated.
Specifically, if a non-wx (e.g. internal Cocoa) window becomes key but a
wx window remains main, be sure to use the wx window's menubar rather
than swapping it out for the menubar we show when no wx window
is active.  Fixes Leopard issue.

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