diff options
Diffstat (limited to 'src/FbTk/MenuItem.cc')
-rw-r--r-- | src/FbTk/MenuItem.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/FbTk/MenuItem.cc b/src/FbTk/MenuItem.cc index 1ed3ebd..ee40f63 100644 --- a/src/FbTk/MenuItem.cc +++ b/src/FbTk/MenuItem.cc | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "Image.hh" | 29 | #include "Image.hh" |
30 | #include "App.hh" | 30 | #include "App.hh" |
31 | #include "StringUtil.hh" | 31 | #include "StringUtil.hh" |
32 | #include "Menu.hh" | ||
32 | 33 | ||
33 | namespace FbTk { | 34 | namespace FbTk { |
34 | 35 | ||
@@ -297,4 +298,9 @@ void MenuItem::updateTheme(const MenuTheme &theme) { | |||
297 | 298 | ||
298 | } | 299 | } |
299 | 300 | ||
301 | void MenuItem::showSubmenu() { | ||
302 | if (submenu() != 0) | ||
303 | submenu()->show(); | ||
304 | } | ||
305 | |||
300 | }; // end namespace FbTk | 306 | }; // end namespace FbTk |