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: