views: Fix "visible" not working in menu bar, closes #825

This commit is contained in:
Cheng Zhao 2014-11-16 16:01:33 +08:00
parent b428b2eb99
commit 0398316192
2 changed files with 5 additions and 0 deletions

View file

@ -90,6 +90,10 @@ bool MenuDelegate::IsCommandEnabled(int id) const {
return delegate()->IsCommandEnabled(id);
}
bool MenuDelegate::IsCommandVisible(int id) const {
return delegate()->IsCommandVisible(id);
}
bool MenuDelegate::IsItemChecked(int id) const {
return delegate()->IsItemChecked(id);
}