From 03abe67e88e2363e7d08336effab0795a417056e Mon Sep 17 00:00:00 2001 From: alberth Date: Mon, 20 Jul 2009 19:44:28 +0000 Subject: (svn r16892) -Codechange: Add support for nested widget tree windows to PickerWindowBase. --- src/window_gui.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/window_gui.h') diff --git a/src/window_gui.h b/src/window_gui.h index 45ef5b8f7..387dab1f6 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -704,7 +704,7 @@ public: }; /** - * Data structure for a window opened from a toolbar + * Base class for windows opened from a toolbar. */ class PickerWindowBase : public Window { @@ -714,6 +714,11 @@ public: this->parent = parent; }; + PickerWindowBase(Window *parent) : Window() + { + this->parent = parent; + }; + virtual ~PickerWindowBase(); }; -- cgit v1.2.3-54-g00ecf