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