+#if wxUSE_MENUS
+ // "Window" menu commands event handlers
+ void OnMDICommand(wxCommandEvent& event);
+ void OnMDIChild(wxCommandEvent& event);
+
+
+ // add/remove window menu if we have it (i.e. m_windowMenu != NULL)
+ void AddWindowMenu();
+ void RemoveWindowMenu();
+
+ // update the window menu (if we have it) to enable or disable the commands
+ // which only make sense when we have more than one child
+ void UpdateWindowMenu(bool enable);
+
+#if wxUSE_ACCEL
+ wxAcceleratorTable *m_accelWindowMenu;
+#endif // wxUSE_ACCEL
+#endif // wxUSE_MENUS
+
+ // return the number of child frames we currently have (maybe 0)
+ int GetChildFramesCount() const;
+
+
+ friend class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;