m_id = id;
m_kind = kind;
if (m_id == wxID_ANY)
- m_id = wxNewId();
+ m_id = wxWindow::NewControlId();
if (m_id == wxID_SEPARATOR)
m_kind = wxITEM_SEPARATOR;
wxString wxMenuBarBase::GetLabelTop(size_t pos) const
{
- return GetMenuLabel(pos);
+ return GetMenuLabelText(pos);
}
#endif