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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user