From e041a73d604cbfc3bb620eef8bc50b7e7e1c1897 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Tue, 27 Jan 2009 11:13:11 +0000 Subject: [PATCH] include wx/mdi.h also for non-PCH builds git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/laywin.cpp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/generic/laywin.cpp b/src/generic/laywin.cpp index 9976702459..2057e101f4 100644 --- a/src/generic/laywin.cpp +++ b/src/generic/laywin.cpp @@ -21,10 +21,11 @@ #ifndef WX_PRECOMP #include "wx/frame.h" - #include "wx/mdi.h" #endif #include "wx/laywin.h" +#include "wx/mdi.h" + IMPLEMENT_DYNAMIC_CLASS(wxQueryLayoutInfoEvent, wxEvent) IMPLEMENT_DYNAMIC_CLASS(wxCalculateLayoutEvent, wxEvent) @@ -32,9 +33,13 @@ IMPLEMENT_DYNAMIC_CLASS(wxCalculateLayoutEvent, wxEvent) wxDEFINE_EVENT( wxEVT_QUERY_LAYOUT_INFO, wxQueryLayoutInfoEvent ) wxDEFINE_EVENT( wxEVT_CALCULATE_LAYOUT, wxCalculateLayoutEvent ) + +// ---------------------------------------------------------------------------- +// wxSashLayoutWindow +// ---------------------------------------------------------------------------- + #if wxUSE_SASH IMPLEMENT_CLASS(wxSashLayoutWindow, wxSashWindow) - BEGIN_EVENT_TABLE(wxSashLayoutWindow, wxSashWindow) EVT_CALCULATE_LAYOUT(wxSashLayoutWindow::OnCalculateLayout) EVT_QUERY_LAYOUT_INFO(wxSashLayoutWindow::OnQueryLayoutInfo) @@ -174,9 +179,10 @@ void wxSashLayoutWindow::OnCalculateLayout(wxCalculateLayoutEvent& event) } #endif // wxUSE_SASH -/* - * wxLayoutAlgorithm - */ + +// ---------------------------------------------------------------------------- +// wxLayoutAlgorithm +// ---------------------------------------------------------------------------- #if wxUSE_MDI_ARCHITECTURE -- 2.47.2