diff options
Diffstat (limited to 'src/gui/base/widgets/window.hpp')
-rw-r--r-- | src/gui/base/widgets/window.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/base/widgets/window.hpp b/src/gui/base/widgets/window.hpp index 030d57edc..e2772d850 100644 --- a/src/gui/base/widgets/window.hpp +++ b/src/gui/base/widgets/window.hpp @@ -82,7 +82,7 @@ namespace gcn /** * Constructor. */ - Window(); + explicit Window(const Widget2 *const widget); /** * Constructor. The window will be automatically resized in height @@ -90,7 +90,8 @@ namespace gcn * * @param caption the caption of the window. */ - explicit Window(const std::string& caption); + Window(const Widget2 *const widget, + const std::string& caption); A_DELETE_COPY(Window) |