aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/MenuItem.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/MenuItem.hh b/src/FbTk/MenuItem.hh
index 134c8a3..4dcecc7 100644
--- a/src/FbTk/MenuItem.hh
+++ b/src/FbTk/MenuItem.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: MenuItem.hh,v 1.1 2003/01/12 17:06:07 fluxgen Exp $ 22// $Id: MenuItem.hh,v 1.2 2003/02/17 12:28:06 fluxgen Exp $
23 23
24#ifndef FBTK_MENUITEM_HH 24#ifndef FBTK_MENUITEM_HH
25#define FBTK_MENUITEM_HH 25#define FBTK_MENUITEM_HH
@@ -60,6 +60,7 @@ public:
60 { } 60 { }
61 virtual ~MenuItem() { } 61 virtual ~MenuItem() { }
62 62
63 void setCommand(RefCount<Command> &cmd) { m_command = cmd; }
63 virtual void setSelected(bool selected) { m_selected = selected; } 64 virtual void setSelected(bool selected) { m_selected = selected; }
64 virtual void setEnabled(bool enabled) { m_enabled = enabled; } 65 virtual void setEnabled(bool enabled) { m_enabled = enabled; }
65 virtual void setLabel(const char *label) { m_label = (label ? label : ""); } 66 virtual void setLabel(const char *label) { m_label = (label ? label : ""); }