It is the case (looking at the code) for the case when the parent frame is of the class wxMDIParentFrame, but shouldn't this be extended to be the case for all mdi parent/children?
I have submitted a patch 1737156
- Code: Select all
if (m_frame->IsKindOf(CLASSINFO(wxAuiMDIParentFrame)))
{
wxAuiMDIParentFrame* mdi_frame = (wxAuiMDIParentFrame*)m_frame;
wxAuiMDIClientWindow* client_window = mdi_frame->GetClientWindow();
wxASSERT_MSG(client_window, wxT("Client window is NULL!"));
AddPane(client_window,
wxAuiPaneInfo().Name(wxT("mdiclient")).
CenterPane().PaneBorder(false));
}
Best regards
Mal