diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-11 07:41:22 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-11 07:41:22 (GMT) |
commit | 9f2f65a698c4cc71373a7fe9d73a0889e0d3487b (patch) | |
tree | 4ad67db771d73ea3c48f80a1244037fc9754edd2 /src/FbTk/BoolMenuItem.hh | |
parent | 1f01d84c080d607a91eb417efcaf5e500b5f1d7e (diff) | |
download | fluxbox-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.zip fluxbox-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.tar.bz2 |
make FbTk::Command a template class, split parsing information out of ObjectRegistry
Diffstat (limited to 'src/FbTk/BoolMenuItem.hh')
-rw-r--r-- | src/FbTk/BoolMenuItem.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/BoolMenuItem.hh b/src/FbTk/BoolMenuItem.hh index 7390066..47d6db4 100644 --- a/src/FbTk/BoolMenuItem.hh +++ b/src/FbTk/BoolMenuItem.hh | |||
@@ -32,7 +32,7 @@ class Accessor<class T>; | |||
32 | class BoolMenuItem: public FbTk::MenuItem { | 32 | class BoolMenuItem: public FbTk::MenuItem { |
33 | public: | 33 | public: |
34 | BoolMenuItem(const FbTk::FbString &label, Accessor<bool> &item, | 34 | BoolMenuItem(const FbTk::FbString &label, Accessor<bool> &item, |
35 | FbTk::RefCount<FbTk::Command> &cmd): | 35 | FbTk::RefCount<FbTk::Command<void> > &cmd): |
36 | FbTk::MenuItem(label, cmd), m_item(item) { | 36 | FbTk::MenuItem(label, cmd), m_item(item) { |
37 | FbTk::MenuItem::setSelected(m_item); | 37 | FbTk::MenuItem::setSelected(m_item); |
38 | setToggleItem(true); | 38 | setToggleItem(true); |