From 1bf168351b2e49c54ee960829ecf88debd7a7ab9 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 28 Feb 2005 16:02:17 +0000 Subject: [PATCH] correcting last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/menu.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/mac/carbon/menu.cpp b/src/mac/carbon/menu.cpp index 69824cf291..91e3471243 100644 --- a/src/mac/carbon/menu.cpp +++ b/src/mac/carbon/menu.cpp @@ -568,19 +568,6 @@ auto-merge for MDI in case this will be necessary */ -const wxMenuInfoList& wxMenuBar::GetMenuInfos() const -{ - wxMenuInfoList* list = const_cast< wxMenuInfoList* >( &m_menuInfos ) ; - WX_CLEAR_LIST( wxMenuInfoList , *list ) ; - for( size_t i = 0 ; i < GetMenuCount() ; ++i ) - { - wxMenuInfo* info = new wxMenuInfo() ; - info->Create( const_cast(this)->GetMenu(i) , GetLabelTop(i) ) ; - list->Append( info ) ; - } - return m_menuInfos ; -} - wxMenuBar* wxMenuBar::s_macInstalledMenuBar = NULL ; wxMenuBar* wxMenuBar::s_macCommonMenuBar = NULL ; -- 2.50.0