diff options
-rw-r--r-- | src/BoolMenuItem.hh | 3 |
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) { |