diff options
Diffstat (limited to 'src/FbTk/Button.hh')
-rw-r--r-- | src/FbTk/Button.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/Button.hh b/src/FbTk/Button.hh index 1f65799..c3276a6 100644 --- a/src/FbTk/Button.hh +++ b/src/FbTk/Button.hh | |||
@@ -55,6 +55,8 @@ public: | |||
55 | virtual void setBackgroundColor(const Color &color); | 55 | virtual void setBackgroundColor(const Color &color); |
56 | virtual bool setOrientation(FbTk::Orientation orient) { return orient == FbTk::ROT0; } | 56 | virtual bool setOrientation(FbTk::Orientation orient) { return orient == FbTk::ROT0; } |
57 | 57 | ||
58 | virtual unsigned int preferredWidth() const { return width(); } | ||
59 | |||
58 | /** | 60 | /** |
59 | @name eventhandlers | 61 | @name eventhandlers |
60 | */ | 62 | */ |