switched to MacOS 8.5+ implementation for submenus

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2002-08-23 09:20:10 +00:00
parent 404dfcae70
commit 867e99f57d
4 changed files with 10 additions and 58 deletions

View File

@@ -70,7 +70,6 @@ void wxMenu::Init()
Str255 label;
wxMenuItem::MacBuildMenuString( label, NULL , NULL , m_title , false );
m_macMenuId = s_macNextMenuId++;
wxCHECK_RET( s_macNextMenuId < 236 , "menu ids > 235 cannot be used for submenus on mac" );
m_hMenu = ::NewMenu(m_macMenuId, label);
if ( !m_hMenu )