//
// Find the (new) accel for this item
//
- wxAcceleratorEntry* pAccel = wxAcceleratorEntry::Create(pItem->GetText());
+ wxAcceleratorEntry* pAccel = wxAcceleratorEntry::Create(pItem->GetItemLabel());
if (pAccel)
pAccel->m_command = pItem->GetId();
//
rItem.afStyle |= MIS_TEXT;
}
- pData = (char*) pItem->GetText().wx_str();
+ pData = (char*) pItem->GetItemLabel().wx_str();
}
if (nPos == (size_t)-1)
wxMenuItem* wxMenu::DoAppend( wxMenuItem* pItem )
{
- wxCHECK_MSG( pItem, NULL, _T("NULL item in wxMenu::DoAppend") );
+ wxCHECK_MSG( pItem, NULL, wxT("NULL item in wxMenu::DoAppend") );
bool bCheck = false;
}
else
{
- wxFAIL_MSG( _T("where is the radio group start item?") );
+ wxFAIL_MSG( wxT("where is the radio group start item?") );
}
}
}
,m_vAccelTable.GetHACCEL()
,(HWND)pFrame->GetFrame()
))
+ {
wxLogLastError(wxT("WinSetAccelTable"));
+ }
#endif // wxUSE_ACCEL
} // end of wxMenuBar::Attach