]> git.saurik.com Git - wxWidgets.git/commitdiff
include wx/mdi.h also for non-PCH builds
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 27 Jan 2009 11:13:11 +0000 (11:13 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 27 Jan 2009 11:13:11 +0000 (11:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/laywin.cpp

index 997670245937ad8ac92d9267cb7a1de271904dbc..2057e101f4cf378204d6223c215b9a89a88cb5db 100644 (file)
 
 #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