diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-03-25 21:42:31 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-13 22:40:52 +0100 |
commit | 7f84fb7d973610efcac140053c41582bb0bca02d (patch) | |
tree | 211f5140c78435fd3aeddd30d7f43b74e0c885b3 /src | |
parent | 231a5c0d8dfc6d5b0fd2cbbdbd10cea582562f85 (diff) | |
download | usdx-7f84fb7d973610efcac140053c41582bb0bca02d.tar.gz usdx-7f84fb7d973610efcac140053c41582bb0bca02d.tar.xz usdx-7f84fb7d973610efcac140053c41582bb0bca02d.zip |
menu/drawable_control: set_size should be virtual so it could be overwritten
Diffstat (limited to '')
-rw-r--r-- | src/menu/drawable_control.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<int>& size); - void set_size(int width, int height); + virtual void set_size(const Dimension<int>& size); + virtual void set_size(int width, int height); const Dimension<int>& get_size(void) const; int get_width(void) const; |