diff options
Diffstat (limited to 'src/BoolMenuItem.hh')
-rw-r--r-- | src/BoolMenuItem.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BoolMenuItem.hh b/src/BoolMenuItem.hh index ff3f952..914185d 100644 --- a/src/BoolMenuItem.hh +++ b/src/BoolMenuItem.hh | |||
@@ -29,13 +29,13 @@ | |||
29 | /// a bool menu item | 29 | /// a bool menu item |
30 | class BoolMenuItem: public FbTk::MenuItem { | 30 | class BoolMenuItem: public FbTk::MenuItem { |
31 | public: | 31 | public: |
32 | BoolMenuItem(const char *label, bool &item, | 32 | BoolMenuItem(const FbTk::FbString &label, bool &item, |
33 | FbTk::RefCount<FbTk::Command> &cmd): | 33 | FbTk::RefCount<FbTk::Command> &cmd): |
34 | FbTk::MenuItem(label, cmd), m_item(item) { | 34 | FbTk::MenuItem(label, cmd), m_item(item) { |
35 | FbTk::MenuItem::setSelected(m_item); | 35 | FbTk::MenuItem::setSelected(m_item); |
36 | setToggleItem(true); | 36 | setToggleItem(true); |
37 | } | 37 | } |
38 | BoolMenuItem(const char *label, bool &item): | 38 | BoolMenuItem(const FbTk::FbString &label, bool &item): |
39 | FbTk::MenuItem(label), m_item(item) { | 39 | FbTk::MenuItem(label), m_item(item) { |
40 | FbTk::MenuItem::setSelected(m_item); | 40 | FbTk::MenuItem::setSelected(m_item); |
41 | } | 41 | } |