aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/BoolMenuItem.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-11 07:41:22 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-11 07:41:22 (GMT)
commit9f2f65a698c4cc71373a7fe9d73a0889e0d3487b (patch)
tree4ad67db771d73ea3c48f80a1244037fc9754edd2 /src/FbTk/BoolMenuItem.hh
parent1f01d84c080d607a91eb417efcaf5e500b5f1d7e (diff)
downloadfluxbox-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.hh2
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>;
32class BoolMenuItem: public FbTk::MenuItem { 32class BoolMenuItem: public FbTk::MenuItem {
33public: 33public:
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);