summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index 3b4843cac..5eb4df526 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -441,8 +441,8 @@ class Window notfinal : public BasicContainer2,
LayoutCell &place(const int x,
const int y,
Widget *const wg,
- const int w,
- const int h);
+ const int w = 1,
+ const int h = 1);
/**
* Returns a proxy for adding widgets in an inner table of the layout.