Implement getters for members of wxPGWindowList

There is no reason to expose wxPGWindowList member variables. They should
be set in ctors and retrieved with getters.
This commit is contained in:
Artur Wieczorek
2020-02-12 17:09:25 +01:00
parent 489cc1cb36
commit 5bc020e844
5 changed files with 16 additions and 4 deletions

View File

@@ -17,6 +17,15 @@ public:
wxPGWindowList(wxWindow* primary, wxWindow* secondary = NULL);
void SetSecondary(wxWindow* secondary);
/** Gets window of primary editor.
@since 3.1.4
*/
wxWindow* GetPrimary() const;
/** Gets window of secondary editor.
@since 3.1.4
*/
wxWindow* GetSecondary() const;
};