From 7f84fb7d973610efcac140053c41582bb0bca02d Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 25 Mar 2012 21:42:31 +0200 Subject: menu/drawable_control: set_size should be virtual so it could be overwritten --- src/menu/drawable_control.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/menu/drawable_control.hpp b/src/menu/drawable_control.hpp index 2acdd7ec..7f353a5a 100644 --- a/src/menu/drawable_control.hpp +++ b/src/menu/drawable_control.hpp @@ -84,8 +84,8 @@ namespace usdx int get_left(void) const; int get_top(void) const; - void set_size(const Dimension& size); - void set_size(int width, int height); + virtual void set_size(const Dimension& size); + virtual void set_size(int width, int height); const Dimension& get_size(void) const; int get_width(void) const; -- cgit v1.2.3