// 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
/////////////////////////////////////////////////////////////////////////////
protected:
wxAuiMDIClientWindow* m_pClientWindow;
- wxAuiMDIChildFrame* m_pActiveChild;
wxEvent* m_pLastEvt;
#if wxUSE_MENUS
void AddWindowMenu(wxMenuBar *pMenuBar);
void DoHandleMenu(wxCommandEvent &event);
+ void DoHandleUpdateUI(wxUpdateUIEvent &event);
#endif // wxUSE_MENUS
virtual bool ProcessEvent(wxEvent& event);
long style = wxVSCROLL | wxHSCROLL);
virtual int SetSelection(size_t page);
+ virtual wxAuiMDIChildFrame* GetActiveChild();
+ virtual void SetActiveChild(wxAuiMDIChildFrame* pChildFrame)
+ {
+ SetSelection(GetPageIndex(pChildFrame));
+ }
protected: