git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40544
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
MenuHandle NewUniqueMenu()
{
- MenuHandle handle = NewMenu( nextPopUpMenuId , "\pMenu" ) ;
+ MenuHandle handle = UMANewMenu(nextPopUpMenuId, wxString(wxT("Menu")), wxFont::GetDefaultEncoding() );
nextPopUpMenuId++ ;
return handle ;
// When SetEventParameter is called it will decrement
// the reference count of the menu - we need to make
// sure it stays around in the wxMenu class here
- RetainMenu(hMenu);
+ CFRetain(hMenu);
// set the actual dock menu
err = SetEventParameter(