Skip to content

Commit

Permalink
Give access to window vector from container class
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Feb 3, 2024
1 parent 0de8c0d commit 3016242
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/util/windowcontainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ class WindowContainer
[[nodiscard]]
size_t GetWindowCount() const noexcept
{ return m_windows.size(); }
/// @returns The internal vector of windows.
[[nodiscard]]
std::vector<wxWindow*>& GetWindows() noexcept
{ return m_windows; }
private:
std::vector<wxWindow*> m_windows;
};
Expand Down

0 comments on commit 3016242

Please # to comment.