diff options
Diffstat (limited to 'src/FbTk/Button.hh')
-rw-r--r-- | src/FbTk/Button.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Button.hh b/src/FbTk/Button.hh index d6414b3..bcf909b 100644 --- a/src/FbTk/Button.hh +++ b/src/FbTk/Button.hh | |||
@@ -42,7 +42,7 @@ public: | |||
42 | virtual ~Button(); | 42 | virtual ~Button(); |
43 | 43 | ||
44 | /// sets action when the button is clicked with #button mouse btn | 44 | /// sets action when the button is clicked with #button mouse btn |
45 | void setOnClick(RefCount<Command> &com, int button = 1); | 45 | void setOnClick(RefCount<Command<void> > &com, int button = 1); |
46 | 46 | ||
47 | /// sets the pixmap to be viewed when the button is pressed | 47 | /// sets the pixmap to be viewed when the button is pressed |
48 | virtual void setPressedPixmap(Pixmap pm); | 48 | virtual void setPressedPixmap(Pixmap pm); |
@@ -83,7 +83,7 @@ private: | |||
83 | GC m_gc; ///< graphic context for button | 83 | GC m_gc; ///< graphic context for button |
84 | bool m_pressed; ///< if the button is pressed | 84 | bool m_pressed; ///< if the button is pressed |
85 | bool *mark_if_deleted; ///< if the button is deleted and this is set, make it true | 85 | bool *mark_if_deleted; ///< if the button is deleted and this is set, make it true |
86 | RefCount<Command> m_onclick[5]; ///< what to do when this button is clicked with button num | 86 | RefCount<Command<void> > m_onclick[5]; ///< what to do when this button is clicked with button num |
87 | }; | 87 | }; |
88 | 88 | ||
89 | } // namespace FbTk | 89 | } // namespace FbTk |