- // compatibility only: these functions are deprecated, use the new ones
- // instead
-#if WXWIN_COMPATIBILITY
- bool Enabled(int itemid) const { return IsEnabled(itemid); }
- bool Checked(int itemid) const { return IsChecked(itemid); }
-
- wxMenuItem* FindMenuItemById(int itemid) const
- { return FindItem(itemid); }
- wxMenuItem* FindItemForId(int itemid, wxMenu **menu = NULL) const
- { return FindItem(itemid, menu); }
-#endif // WXWIN_COMPATIBILITY