]> git.saurik.com Git - wxWidgets.git/commit
wxMenuBarManager::InstallMenuBarForWindow no longer looks for a menubar
authorDavid Elliott <dfe@tgwbd.org>
Thu, 6 Nov 2003 19:25:06 +0000 (19:25 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Thu, 6 Nov 2003 19:25:06 +0000 (19:25 +0000)
commit3e84f98ffaf7f813fad8cf4260ebe7896adc4d18
tree4d8108b8bc802668d9d87dadb0f56aeedf70d91d
parent77c5e9230e558873be25c8a5472b9b9038b03466
wxMenuBarManager::InstallMenuBarForWindow no longer looks for a menubar
attached to the parent of a window without one.  Instead, it is now up to
the GetAppMenuBar() function to do so.  The new implementation in
wxTopLevelWindow does just that.  The wxFrame implementation now calls
the base class version if it does not have a menubar.  Also, it is now
invalid to call the function with a NULL window (it is internal anyway).

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