// dynamic classes implementation
// ----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxMenuItem, wxObject)
-
// ----------------------------------------------------------------------------
// wxMenuItem
// ----------------------------------------------------------------------------
}
}
-/* static */
-wxString wxMenuItemBase::GetLabelText(const wxString& text)
-{
- return wxStripMenuCodes(text);
-}
-
// ----------------------------------------------------------------------------
// wxMenuItemBase
// ----------------------------------------------------------------------------
wxMenuItemDisarmCallback, (XtPointer) this);
}
}
- else if (GetId() == wxID_SEPARATOR)
+ else if (IsSeparator())
{
; // Nothing