diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-14 16:12:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-14 16:12:35 +0300 |
commit | 812193ffc15ce42487b92c6c2294475bfcf0b5d9 (patch) | |
tree | f5491e9b6c349e6b21e5ab3f2a5bd7f269ebc50d /src/gui/widgets/widget.h | |
parent | 33dc4573f4defbfb40b62d2d5ee1ed8f423c9db7 (diff) | |
download | manaverse-812193ffc15ce42487b92c6c2294475bfcf0b5d9.tar.gz manaverse-812193ffc15ce42487b92c6c2294475bfcf0b5d9.tar.bz2 manaverse-812193ffc15ce42487b92c6c2294475bfcf0b5d9.tar.xz manaverse-812193ffc15ce42487b92c6c2294475bfcf0b5d9.zip |
Add macro for create widget, call postInit and return widget.
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r-- | src/gui/widgets/widget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h index 5868e20aa..416782dc2 100644 --- a/src/gui/widgets/widget.h +++ b/src/gui/widgets/widget.h @@ -1027,6 +1027,8 @@ class Widget notfinal : public Widget2 void windowResized(); + static Widget *callPostInit(Widget *const widget); + virtual void postInit() { } |