X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9827ce920855ba062aee8f2954368e08db477f18..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/aui/tabmdi.h?ds=sidebyside diff --git a/include/wx/aui/tabmdi.h b/include/wx/aui/tabmdi.h index f24a2d22ce..8750831747 100644 --- a/include/wx/aui/tabmdi.h +++ b/include/wx/aui/tabmdi.h @@ -4,7 +4,6 @@ // Author: Hans Van Leemputten // Modified by: Benjamin I. Williams / Kirix Corporation // Created: 29/07/2002 -// RCS-ID: $Id$ // Copyright: (c) Hans Van Leemputten // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -85,7 +84,6 @@ public: protected: wxAuiMDIClientWindow* m_pClientWindow; - wxAuiMDIChildFrame* m_pActiveChild; wxEvent* m_pLastEvt; #if wxUSE_MENUS @@ -250,6 +248,11 @@ public: long style = wxVSCROLL | wxHSCROLL); virtual int SetSelection(size_t page); + virtual wxAuiMDIChildFrame* GetActiveChild(); + virtual void SetActiveChild(wxAuiMDIChildFrame* pChildFrame) + { + SetSelection(GetPageIndex(pChildFrame)); + } protected: