Add close/delete window function aliases for upstream

This commit is contained in:
Jonathan G Rennison
2023-06-30 23:18:01 +01:00
parent 01c6705339
commit 87ee18b6b9
3 changed files with 15 additions and 0 deletions

View File

@@ -289,6 +289,8 @@ public:
virtual ~Window();
virtual void Close();
/**
* Helper allocation function to disallow something.
* Don't allow arrays; arrays of Windows are pointless as you need
@@ -520,6 +522,7 @@ public:
static int SortButtonWidth();
void DeleteChildWindows(WindowClass wc = WC_INVALID) const;
inline void CloseChildWindows(WindowClass wc = WC_INVALID) const { this->DeleteChildWindows(wc); }
void SetDirty();
void SetDirtyAsBlocks();