From 812193ffc15ce42487b92c6c2294475bfcf0b5d9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Jun 2015 16:12:35 +0300 Subject: Add macro for create widget, call postInit and return widget. --- src/gui/widgets/widget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/widget.h') 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() { } -- cgit v1.2.3-60-g2f50