From df5cd98862d5328c6765b992a3a6e1b3458a1d8a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Oct 2012 18:28:37 +0300 Subject: Derive all widgets from Widget2 class. --- src/gui/widgets/radiobutton.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/radiobutton.h') diff --git a/src/gui/widgets/radiobutton.h b/src/gui/widgets/radiobutton.h index ecf6862ed..a511a806f 100644 --- a/src/gui/widgets/radiobutton.h +++ b/src/gui/widgets/radiobutton.h @@ -23,6 +23,8 @@ #ifndef RADIOBUTTON_H #define RADIOBUTTON_H +#include "gui/widgets/widget2.h" + #include #include "localconsts.h" @@ -33,7 +35,8 @@ class Skin; /** * Guichan based RadioButton with custom look */ -class RadioButton final : public gcn::RadioButton +class RadioButton final : public gcn::RadioButton, + public Widget2 { public: /** -- cgit v1.2.3-60-g2f50