Factor out wxAuiTabContainer::GetCloseButtonState()

Extract the function for determining whether the close button should be
shown for the given page in a reusable function.

No real changes yet.
This commit is contained in:
Vadim Zeitlin 2023-12-24 02:27:37 +01:00
parent 550849b786
commit a2120bb6e1
2 changed files with 13 additions and 12 deletions

View file

@ -189,6 +189,9 @@ protected:
wxRect m_rect;
size_t m_tabOffset;
unsigned int m_flags;
private:
int GetCloseButtonState(const wxAuiNotebookPage& page) const;
};