mirror of https://github.com/OpenTTD/OpenTTD
(svn r16892) -Codechange: Add support for nested widget tree windows to PickerWindowBase.
parent
2a5784c53d
commit
03abe67e88
|
@ -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 {
|
class PickerWindowBase : public Window {
|
||||||
|
|
||||||
|
@ -714,6 +714,11 @@ public:
|
||||||
this->parent = parent;
|
this->parent = parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PickerWindowBase(Window *parent) : Window()
|
||||||
|
{
|
||||||
|
this->parent = parent;
|
||||||
|
};
|
||||||
|
|
||||||
virtual ~PickerWindowBase();
|
virtual ~PickerWindowBase();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue