]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for wxX11
authorJulian Smart <julian@anthemion.co.uk>
Tue, 6 Jun 2006 15:20:30 +0000 (15:20 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 6 Jun 2006 15:20:30 +0000 (15:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp

index a4c055b1d2359c392aecc8dd2599b00d7fba250e..48e7daf104b69c1730c4128610ebdd71eb450db7 100644 (file)
@@ -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!"));