aboutsummaryrefslogtreecommitdiff
path: root/src/BoolMenuItem.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-27 14:25:32 (GMT)
committerfluxgen <fluxgen>2003-08-27 14:25:32 (GMT)
commit8da64c481dca05ca40ebcad23ce88ddd29944165 (patch)
tree41d66f0db0d49c510680d23529b41f0440daff53 /src/BoolMenuItem.hh
parentfc5c45f0c528b8e9c5072503479eeea844304b58 (diff)
downloadfluxbox-8da64c481dca05ca40ebcad23ce88ddd29944165.zip
fluxbox-8da64c481dca05ca40ebcad23ce88ddd29944165.tar.bz2
toggle item
Diffstat (limited to 'src/BoolMenuItem.hh')
-rw-r--r--src/BoolMenuItem.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/BoolMenuItem.hh b/src/BoolMenuItem.hh
index 050d5cf..f5efae9 100644
--- a/src/BoolMenuItem.hh
+++ b/src/BoolMenuItem.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: BoolMenuItem.hh,v 1.1 2003/01/12 18:15:23 fluxgen Exp $ 22// $Id: BoolMenuItem.hh,v 1.2 2003/08/27 14:25:32 fluxgen Exp $
23 23
24#ifndef BOOLMENUITEM_HH 24#ifndef BOOLMENUITEM_HH
25#define BOOLMENUITEM_HH 25#define BOOLMENUITEM_HH
@@ -33,6 +33,7 @@ public:
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 } 37 }
37 BoolMenuItem(const char *label, bool &item): 38 BoolMenuItem(const char *label, bool &item):
38 FbTk::MenuItem(label), m_item(item) { 39 FbTk::MenuItem(label), m_item(item) {