diff options
author | alberth <alberth@openttd.org> | 2009-07-20 19:44:28 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-07-20 19:44:28 +0000 |
commit | 03abe67e88e2363e7d08336effab0795a417056e (patch) | |
tree | af7725ffe7300741b99fdc03d45b28b0bc59677c /src | |
parent | 2a5784c53d12bbef12ee0a6cdf4faeac3b82e539 (diff) | |
download | openttd-03abe67e88e2363e7d08336effab0795a417056e.tar.xz |
(svn r16892) -Codechange: Add support for nested widget tree windows to PickerWindowBase.
Diffstat (limited to 'src')
-rw-r--r-- | src/window_gui.h | 7 |
1 files changed, 6 insertions, 1 deletions
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(); }; |