Add Widget() constructor to create default widgets

This commit is contained in:
David Capello 2015-08-28 13:10:42 -03:00
parent d994d67a2a
commit 530edb4ae3

View File

@ -49,7 +49,7 @@ namespace ui {
// CTOR & DTOR
// ===============================================================
Widget(WidgetType type);
Widget(WidgetType type = kGenericWidget);
virtual ~Widget();
// Safe way to delete a widget when it is not in the manager message