diff options
Diffstat (limited to 'src/FbTk/Button.cc')
-rw-r--r-- | src/FbTk/Button.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Button.cc b/src/FbTk/Button.cc index 25f9a5c..bcdc90e 100644 --- a/src/FbTk/Button.cc +++ b/src/FbTk/Button.cc | |||
@@ -62,7 +62,7 @@ Button::~Button() { | |||
62 | } | 62 | } |
63 | } | 63 | } |
64 | 64 | ||
65 | void Button::setOnClick(RefCount<Command> &cmd, int button) { | 65 | void Button::setOnClick(RefCount<Command<void> > &cmd, int button) { |
66 | // we only handle buttons 1 to 5 | 66 | // we only handle buttons 1 to 5 |
67 | if (button > 5 || button == 0) | 67 | if (button > 5 || button == 0) |
68 | return; | 68 | return; |