wxString wxMenuItem::GetItemLabel() const
{
- return wxConvertFromGTKToWXLabel(m_text);
+ wxString label = wxConvertFromGTKToWXLabel(m_text);
+ if (!m_hotKey.IsEmpty())
+ label = label + wxT("\t") + m_hotKey;
+ return label;
}
void wxMenuItem::SetItemLabel( const wxString& string )
}
else if (mitem->GetBitmap().Ok())
{
- text = mitem->wxMenuItembase::GetItemLabel();
+ text = mitem->wxMenuItemBase::GetItemLabel();
const wxBitmap *bitmap = &mitem->GetBitmap();
// TODO