summaryrefslogtreecommitdiff
path: root/src/gui/widgets/label.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-19 18:28:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:42 +0300
commitdf5cd98862d5328c6765b992a3a6e1b3458a1d8a (patch)
tree281949dceabbc4894474f4f5c6cb398f3dd15998 /src/gui/widgets/label.h
parent2bf115745f111215b651b87288eb9d15ceb333be (diff)
downloadmv-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.gz
mv-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.bz2
mv-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.tar.xz
mv-df5cd98862d5328c6765b992a3a6e1b3458a1d8a.zip
Derive all widgets from Widget2 class.
Diffstat (limited to 'src/gui/widgets/label.h')
-rw-r--r--src/gui/widgets/label.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/label.h b/src/gui/widgets/label.h
index 09f193436..d249bdf54 100644
--- a/src/gui/widgets/label.h
+++ b/src/gui/widgets/label.h
@@ -22,6 +22,8 @@
#ifndef LABEL_H
#define LABEL_H
+#include "gui/widgets/widget2.h"
+
#include <guichan/widgets/label.hpp>
#include "localconsts.h"
@@ -34,7 +36,7 @@ class Skin;
*
* \ingroup GUI
*/
-class Label final : public gcn::Label
+class Label final : public gcn::Label, public Widget2
{
public:
/**