diff options
Diffstat (limited to 'src/FbTk/Menu.cc')
-rw-r--r-- | src/FbTk/Menu.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index b067361..e70fa76 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc | |||
@@ -747,7 +747,7 @@ void Menu::drawSubmenu(unsigned int index) { | |||
747 | 747 | ||
748 | } | 748 | } |
749 | 749 | ||
750 | 750 | #ifdef NOT_USED | |
751 | bool Menu::hasSubmenu(unsigned int index) const { | 751 | bool Menu::hasSubmenu(unsigned int index) const { |
752 | if (index >= menuitems.size()) //boundary check | 752 | if (index >= menuitems.size()) //boundary check |
753 | return false; | 753 | return false; |
@@ -757,7 +757,7 @@ bool Menu::hasSubmenu(unsigned int index) const { | |||
757 | 757 | ||
758 | return true; | 758 | return true; |
759 | } | 759 | } |
760 | 760 | #endif // NOT_USED | |
761 | 761 | ||
762 | int Menu::drawItem(FbDrawable &drawable, unsigned int index, | 762 | int Menu::drawItem(FbDrawable &drawable, unsigned int index, |
763 | bool highlight, bool exclusive_drawable) { | 763 | bool highlight, bool exclusive_drawable) { |