applied patch 1737156 to wxAuiManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
#include "wx/aui/framemanager.h"
|
#include "wx/aui/framemanager.h"
|
||||||
#include "wx/aui/dockart.h"
|
#include "wx/aui/dockart.h"
|
||||||
#include "wx/aui/floatpane.h"
|
#include "wx/aui/floatpane.h"
|
||||||
|
#include "wx/aui/tabmdi.h"
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/panel.h"
|
#include "wx/panel.h"
|
||||||
@@ -775,6 +776,17 @@ void wxAuiManager::SetManagedWindow(wxWindow* wnd)
|
|||||||
wxAuiPaneInfo().Name(wxT("mdiclient")).
|
wxAuiPaneInfo().Name(wxT("mdiclient")).
|
||||||
CenterPane().PaneBorder(false));
|
CenterPane().PaneBorder(false));
|
||||||
}
|
}
|
||||||
|
else 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));
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
UpdateHintWindowConfig();
|
UpdateHintWindowConfig();
|
||||||
|
Reference in New Issue
Block a user