aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MultiButtonMenuItem.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/MultiButtonMenuItem.hh')
-rw-r--r--src/FbTk/MultiButtonMenuItem.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/MultiButtonMenuItem.hh b/src/FbTk/MultiButtonMenuItem.hh
index 6d717af..5d67bdf 100644
--- a/src/FbTk/MultiButtonMenuItem.hh
+++ b/src/FbTk/MultiButtonMenuItem.hh
@@ -34,7 +34,7 @@ public:
34 MultiButtonMenuItem(int buttons, const FbString &label, Menu *submenu); 34 MultiButtonMenuItem(int buttons, const FbString &label, Menu *submenu);
35 virtual ~MultiButtonMenuItem(); 35 virtual ~MultiButtonMenuItem();
36 /// sets command to specified button 36 /// sets command to specified button
37 void setCommand(int button, FbTk::RefCount<FbTk::Command> &cmd); 37 void setCommand(int button, FbTk::RefCount<FbTk::Command<void> > &cmd);
38 /// executes command for the button click 38 /// executes command for the button click
39 virtual void click(int button, int time, unsigned int mods); 39 virtual void click(int button, int time, unsigned int mods);
40 /// @return number of buttons this instance handles 40 /// @return number of buttons this instance handles
@@ -43,7 +43,7 @@ public:
43private: 43private:
44 void init(int buttons); 44 void init(int buttons);
45 45
46 FbTk::RefCount<FbTk::Command> *m_button_exe; 46 FbTk::RefCount<FbTk::Command<void> > *m_button_exe;
47 unsigned int m_buttons; 47 unsigned int m_buttons;
48}; 48};
49 49