From: Julian Smart Date: Tue, 6 Jun 2006 15:20:30 +0000 (+0000) Subject: Fix for wxX11 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9db1b5407415963edd1973cfb907c2bd78bf86cc?hp=c4c7d59800982d724d1197000ec5132efed6330b Fix for wxX11 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index a4c055b1d2..48e7daf104 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -40,6 +40,7 @@ #include "wx/app.h" #include "wx/image.h" #include "wx/settings.h" +#include "wx/toolbar.h" #if wxUSE_MDI #include "wx/mdi.h" @@ -502,7 +503,7 @@ void wxFrameManager::SetFrame(wxFrame* frame) if (frame->IsKindOf(CLASSINFO(wxMDIParentFrame))) { wxMDIParentFrame* mdi_frame = (wxMDIParentFrame*)frame; - wxMDIClientWindow* client_window = mdi_frame->GetClientWindow(); + wxWindow* client_window = mdi_frame->GetClientWindow(); wxASSERT_MSG(client_window, wxT("Client window is NULL!"));