git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58447
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// MDI helpers
// -----------
+#if wxUSE_MENUS
// called by wxMDIChildFrame after it was successfully created
virtual void AddMDIChild(wxMDIChildFrame *child);
// called by wxMDIChildFrame just before it is destroyed
virtual void RemoveMDIChild(wxMDIChildFrame *child);
+#endif // wxUSE_MENUS
// handlers
// --------
return count;
}
+#if wxUSE_MENUS
+
void wxMDIParentFrame::AddMDIChild(wxMDIChildFrame * WXUNUSED(child))
{
switch ( GetChildFramesCount() )
}
}
-#if wxUSE_MENUS
-
// ----------------------------------------------------------------------------
// wxMDIParentFrame window menu handling
// ----------------------------------------------------------------------------