]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/laywin.cpp
More work on GTK 2.0 drawing.
[wxWidgets.git] / src / generic / laywin.cpp
index ea613698ec66cac91284192522de77621bbbf673..8d33f42ccf6961439838141010ccb5ab26085a50 100644 (file)
@@ -24,7 +24,8 @@
 #endif
 
 #ifndef WX_PRECOMP
-#include "wx/mdi.h"
+    #include "wx/frame.h"
+    #include "wx/mdi.h"
 #endif
 
 #include "wx/laywin.h"
@@ -219,6 +220,11 @@ bool wxLayoutAlgorithm::LayoutMDIFrame(wxMDIParentFrame* frame, wxRect* r)
 
 #endif // wxUSE_MDI_ARCHITECTURE
 
+bool wxLayoutAlgorithm::LayoutFrame(wxFrame* frame, wxWindow* mainWindow)
+{
+    return LayoutWindow(frame, mainWindow);
+}
+
 // Layout algorithm for any window. mainWindow gets what's left over.
 bool wxLayoutAlgorithm::LayoutWindow(wxWindow* parent, wxWindow* mainWindow)
 {